cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r1576606 - in /cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/access: jdbc/EntityRowReader.java jdbc/SelectAction.java types/ExtendedTypeDecorator.java
Date Wed, 12 Mar 2014 07:25:29 GMT
Author: aadamchik
Date: Wed Mar 12 07:25:28 2014
New Revision: 1576606

URL: http://svn.apache.org/r1576606
Log:
java 6 annotations

Modified:
    cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/access/jdbc/EntityRowReader.java
    cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/access/jdbc/SelectAction.java
    cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/access/types/ExtendedTypeDecorator.java

Modified: cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/access/jdbc/EntityRowReader.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/access/jdbc/EntityRowReader.java?rev=1576606&r1=1576605&r2=1576606&view=diff
==============================================================================
--- cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/access/jdbc/EntityRowReader.java
(original)
+++ cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/access/jdbc/EntityRowReader.java
Wed Mar 12 07:25:28 2014
@@ -77,10 +77,12 @@ class EntityRowReader implements RowRead
         }
     }
 
+    @Override
     public void setPostProcessor(DataRowPostProcessor postProcessor) {
         this.postProcessor = postProcessor;
     }
 
+    @Override
     public DataRow readRow(ResultSet resultSet) {
 
         try {

Modified: cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/access/jdbc/SelectAction.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/access/jdbc/SelectAction.java?rev=1576606&r1=1576605&r2=1576606&view=diff
==============================================================================
--- cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/access/jdbc/SelectAction.java
(original)
+++ cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/access/jdbc/SelectAction.java
Wed Mar 12 07:25:28 2014
@@ -60,6 +60,7 @@ public class SelectAction extends BaseSQ
         return translator;
     }
 
+    @Override
     public void performAction(Connection connection, OperationObserver observer) throws SQLException,
Exception {
 
         final long t1 = System.currentTimeMillis();

Modified: cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/access/types/ExtendedTypeDecorator.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/access/types/ExtendedTypeDecorator.java?rev=1576606&r1=1576605&r2=1576606&view=diff
==============================================================================
--- cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/access/types/ExtendedTypeDecorator.java
(original)
+++ cayenne/main/trunk/cayenne-server/src/main/java/org/apache/cayenne/access/types/ExtendedTypeDecorator.java
Wed Mar 12 07:25:28 2014
@@ -39,17 +39,21 @@ abstract class ExtendedTypeDecorator imp
 
     abstract Object fromJavaObject(Object object);
 
+    @Override
     public abstract String getClassName();
 
+    @Override
     public Object materializeObject(CallableStatement rs, int index, int type)
             throws Exception {
         return toJavaObject(decorated.materializeObject(rs, index, type));
     }
 
+    @Override
     public Object materializeObject(ResultSet rs, int index, int type) throws Exception {
         return toJavaObject(decorated.materializeObject(rs, index, type));
     }
 
+    @Override
     public void setJdbcObject(
             PreparedStatement statement,
             Object value,



Mime
View raw message