cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r1577861 - in /cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle: OracleLOBBatchAction.java OracleLOBBatchQueryWrapper.java
Date Sat, 15 Mar 2014 13:20:55 GMT
Author: aadamchik
Date: Sat Mar 15 13:20:55 2014
New Revision: 1577861

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

Modified:
    cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBBatchAction.java
    cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBBatchQueryWrapper.java

Modified: cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBBatchAction.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBBatchAction.java?rev=1577861&r1=1577860&r2=1577861&view=diff
==============================================================================
--- cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBBatchAction.java
(original)
+++ cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBBatchAction.java
Sat Mar 15 13:20:55 2014
@@ -101,7 +101,7 @@ class OracleLOBBatchAction implements SQ
             try {
 
                 if (isLoggable) {
-                    List bindings = queryBuilder.getValuesForLOBUpdateParameters(row);
+                    List<Object> bindings = queryBuilder.getValuesForLOBUpdateParameters(row);
                     logger.logQueryParameters("bind", null, bindings, query instanceof InsertBatchQuery);
                 }
 
@@ -133,8 +133,8 @@ class OracleLOBBatchAction implements SQ
 
         boolean isLoggable = logger.isLoggable();
 
-        List qualifierValues = selectQuery.getValuesForLOBSelectQualifier(row);
-        List lobValues = selectQuery.getValuesForUpdatedLOBColumns();
+        List<Object> qualifierValues = selectQuery.getValuesForLOBSelectQualifier(row);
+        List<Object> lobValues = selectQuery.getValuesForUpdatedLOBColumns();
         int parametersSize = qualifierValues.size();
         int lobSize = lobAttributes.size();
 

Modified: cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBBatchQueryWrapper.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBBatchQueryWrapper.java?rev=1577861&r1=1577860&r2=1577861&view=diff
==============================================================================
--- cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBBatchQueryWrapper.java
(original)
+++ cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/dba/oracle/OracleLOBBatchQueryWrapper.java
Sat Mar 15 13:20:55 2014
@@ -177,10 +177,10 @@ class OracleLOBBatchQueryWrapper {
         return attributes;
     }
 
-    List getValuesForLOBSelectQualifier(BatchQueryRow row) {
+    List<Object> getValuesForLOBSelectQualifier(BatchQueryRow row) {
 
         int len = this.qualifierAttributes.length;
-        List values = new ArrayList(len);
+        List<Object> values = new ArrayList<Object>(len);
         for (int i = 0; i < len; i++) {
             if (this.qualifierAttributes[i]) {
                 values.add(row.getValue(i));
@@ -190,10 +190,10 @@ class OracleLOBBatchQueryWrapper {
         return values;
     }
 
-    List getValuesForUpdatedLOBColumns() {
+    List<Object> getValuesForUpdatedLOBColumns() {
 
         int len = this.updatedLOBAttributes.length;
-        List values = new ArrayList(len);
+        List<Object> values = new ArrayList<Object>(len);
         for (int i = 0; i < len; i++) {
             if (this.updatedLOBAttributes[i] != null) {
                 values.add(this.updatedLOBAttributes[i]);



Mime
View raw message