cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r1577860 - in /cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle: OracleLOBBatchTranslator.java OracleLOBInsertBatchTranslator.java OracleLOBUpdateBatchTranslator.java
Date Sat, 15 Mar 2014 13:19:57 GMT
Author: aadamchik
Date: Sat Mar 15 13:19:57 2014
New Revision: 1577860

URL: http://svn.apache.org/r1577860
Log:
cleanup

Modified:
    cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBBatchTranslator.java
    cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBInsertBatchTranslator.java
    cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBUpdateBatchTranslator.java

Modified: cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBBatchTranslator.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBBatchTranslator.java?rev=1577860&r1=1577859&r2=1577860&view=diff
==============================================================================
--- cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBBatchTranslator.java
(original)
+++ cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBBatchTranslator.java
Sat Mar 15 13:19:57 2014
@@ -48,7 +48,7 @@ abstract class OracleLOBBatchTranslator 
         super(query, adapter);
     }
 
-    abstract List getValuesForLOBUpdateParameters(BatchQueryRow row);
+    abstract List<Object> getValuesForLOBUpdateParameters(BatchQueryRow row);
     
     abstract String createSqlString(BatchQueryRow row);
     

Modified: cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBInsertBatchTranslator.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBInsertBatchTranslator.java?rev=1577860&r1=1577859&r2=1577860&view=diff
==============================================================================
--- cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBInsertBatchTranslator.java
(original)
+++ cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBInsertBatchTranslator.java
Sat Mar 15 13:19:57 2014
@@ -36,11 +36,11 @@ class OracleLOBInsertBatchTranslator ext
     }
 
     @Override
-    List getValuesForLOBUpdateParameters(BatchQueryRow row) {
+    List<Object> getValuesForLOBUpdateParameters(BatchQueryRow row) {
         List<DbAttribute> dbAttributes = query.getDbAttributes();
         int len = dbAttributes.size();
 
-        List values = new ArrayList(len);
+        List<Object> values = new ArrayList<Object>(len);
         for (int i = 0; i < len; i++) {
             Object value = row.getValue(i);
             DbAttribute attribute = dbAttributes.get(i);

Modified: cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBUpdateBatchTranslator.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBUpdateBatchTranslator.java?rev=1577860&r1=1577859&r2=1577860&view=diff
==============================================================================
--- cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBUpdateBatchTranslator.java
(original)
+++ cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBUpdateBatchTranslator.java
Sat Mar 15 13:19:57 2014
@@ -36,11 +36,11 @@ class OracleLOBUpdateBatchTranslator ext
     }
 
     @Override
-    List getValuesForLOBUpdateParameters(BatchQueryRow row) {
+    List<Object> getValuesForLOBUpdateParameters(BatchQueryRow row) {
         int len = query.getDbAttributes().size();
         UpdateBatchQuery updateBatch = (UpdateBatchQuery) query;
 
-        List values = new ArrayList(len);
+        List<Object> values = new ArrayList<Object>(len);
         List<DbAttribute> qualifierAttributes = updateBatch.getQualifierAttributes();
         List<DbAttribute> updatedDbAttributes = updateBatch.getUpdatedAttributes();
 



Mime
View raw message