[exo-jcr-commits] exo-jcr SVN: r4803 - in jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation: db and 1 other directory.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Aug 29 02:25:01 EDT 2011


Author: tolusha
Date: 2011-08-29 02:25:00 -0400 (Mon, 29 Aug 2011)
New Revision: 4803

Modified:
   jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/CQJDBCStorageConnection.java
   jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/db/MultiDbJDBCConnection.java
   jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/db/SingleDbJDBCConnection.java
Log:
EXOJCR-1482:  Fix sonar violations

Modified: jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/CQJDBCStorageConnection.java
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/CQJDBCStorageConnection.java	2011-08-26 13:49:43 UTC (rev 4802)
+++ jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/CQJDBCStorageConnection.java	2011-08-29 06:25:00 UTC (rev 4803)
@@ -1243,8 +1243,8 @@
 
    protected abstract int deleteValueDataByOrderNum(String id, int orderNum) throws SQLException;
 
-   protected abstract int updateValueData(String cid, int i, InputStream stream, int streamLength, String storageId, boolean lastValue)
-      throws SQLException;
+   protected abstract int updateValueData(String cid, int i, InputStream stream, int streamLength, String storageId,
+      boolean lastValue) throws SQLException;
    
    protected abstract int addValueData(String cid, int orderNumber, InputStream stream, int streamLength,
       String storageId, boolean lastValue) throws SQLException;

Modified: jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/db/MultiDbJDBCConnection.java
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/db/MultiDbJDBCConnection.java	2011-08-26 13:49:43 UTC (rev 4802)
+++ jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/db/MultiDbJDBCConnection.java	2011-08-29 06:25:00 UTC (rev 4803)
@@ -674,8 +674,8 @@
     * {@inheritDoc}
     */
    @Override
-   protected int addValueData(String cid, int orderNumber, InputStream stream, int streamLength, String storageDesc, boolean lastValue)
-      throws SQLException
+   protected int addValueData(String cid, int orderNumber, InputStream stream, int streamLength, String storageDesc,
+      boolean lastValue) throws SQLException
    {
 
       if (insertValue == null)
@@ -905,8 +905,8 @@
       return findPropertyById.executeQuery();
    }
 
-   protected int updateValueData(String cid, int orderNumber, InputStream stream, int streamLength, String storageDesc, boolean lastValue)
-      throws SQLException
+   protected int updateValueData(String cid, int orderNumber, InputStream stream, int streamLength, String storageDesc,
+      boolean lastValue) throws SQLException
    {
 
       if (updateValue == null)

Modified: jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/db/SingleDbJDBCConnection.java
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/db/SingleDbJDBCConnection.java	2011-08-26 13:49:43 UTC (rev 4802)
+++ jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/db/SingleDbJDBCConnection.java	2011-08-29 06:25:00 UTC (rev 4803)
@@ -527,8 +527,8 @@
     * {@inheritDoc}
     */
    @Override
-   protected int addValueData(String cid, int orderNumber, InputStream stream, int streamLength, String storageDesc, boolean lastValue)
-      throws SQLException
+   protected int addValueData(String cid, int orderNumber, InputStream stream, int streamLength, String storageDesc,
+      boolean lastValue) throws SQLException
    {
 
       if (insertValue == null)
@@ -844,8 +844,8 @@
    }
    
    @Override
-   protected int updateValueData(String cid, int orderNumber, InputStream stream, int streamLength, String storageDesc, boolean lastValue)
-      throws SQLException
+   protected int updateValueData(String cid, int orderNumber, InputStream stream, int streamLength, String storageDesc,
+      boolean lastValue) throws SQLException
    {
 
       if (updateValue == null)



More information about the exo-jcr-commits mailing list