cayenne-commits mailing list archives

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

URL: http://svn.apache.org/r1577862
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/OracleLOBBatchTranslator.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=1577862&r1=1577861&r2=1577862&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:22:45 2014
@@ -64,6 +64,7 @@ class OracleLOBBatchAction implements SQ
         return adapter;
     }
 
+    @Override
     public void performAction(Connection connection, OperationObserver observer) throws SQLException,
Exception {
 
         OracleLOBBatchTranslator queryBuilder;

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=1577862&r1=1577861&r2=1577862&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:22:45 2014
@@ -49,24 +49,24 @@ abstract class OracleLOBBatchTranslator 
     }
 
     abstract List<Object> getValuesForLOBUpdateParameters(BatchQueryRow row);
-    
+
     abstract String createSqlString(BatchQueryRow row);
-    
+
     @Override
     public final String createSqlString() throws IOException {
         throw new UnsupportedOperationException();
     }
 
-    String createLOBSelectString(List selectedLOBAttributes, List qualifierAttributes) {
+    String createLOBSelectString(List<DbAttribute> selectedLOBAttributes, List<DbAttribute>
qualifierAttributes) {
 
         QuotingStrategy strategy = adapter.getQuotingStrategy();
 
         StringBuilder buf = new StringBuilder();
         buf.append("SELECT ");
 
-        Iterator it = selectedLOBAttributes.iterator();
+        Iterator<DbAttribute> it = selectedLOBAttributes.iterator();
         while (it.hasNext()) {
-            buf.append(strategy.quotedName((DbAttribute) it.next()));
+            buf.append(strategy.quotedName(it.next()));
 
             if (it.hasNext()) {
                 buf.append(", ");



Mime
View raw message