cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r1538347 - /cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/DataDomainQueryAction.java
Date Sun, 03 Nov 2013 12:24:28 GMT
Author: aadamchik
Date: Sun Nov  3 12:24:28 2013
New Revision: 1538347

URL: http://svn.apache.org/r1538347
Log:
@Override for interface methods

Modified:
    cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/DataDomainQueryAction.java

Modified: cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/DataDomainQueryAction.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/DataDomainQueryAction.java?rev=1538347&r1=1538346&r2=1538347&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/DataDomainQueryAction.java
(original)
+++ cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/DataDomainQueryAction.java
Sun Nov  3 12:24:28 2013
@@ -370,6 +370,7 @@ class DataDomainQueryAction implements Q
     private QueryCacheEntryFactory getCacheObjectFactory() {
         return new QueryCacheEntryFactory() {
 
+            @Override
             public Object createObject() {
                 runQueryInTransaction();
 
@@ -398,6 +399,7 @@ class DataDomainQueryAction implements Q
 
         domain.runInTransaction(new Transformer() {
 
+            @Override
             public Object transform(Object input) {
                 runQuery();
                 return null;
@@ -461,6 +463,7 @@ class DataDomainQueryAction implements Q
         }
     }
 
+    @Override
     public void route(QueryEngine engine, Query query, Query substitutedQuery) {
 
         Collection<Query> queries = null;
@@ -490,6 +493,7 @@ class DataDomainQueryAction implements Q
         }
     }
 
+    @Override
     public QueryEngine engineForDataMap(DataMap map) {
         if (map == null) {
             throw new NullPointerException("Null DataMap, can't determine DataNode.");
@@ -504,14 +508,17 @@ class DataDomainQueryAction implements Q
         return node;
     }
 
+    @Override
     public void nextCount(Query query, int resultCount) {
         fullResponse.addUpdateCount(resultCount);
     }
 
+    @Override
     public void nextBatchCount(Query query, int[] resultCount) {
         fullResponse.addBatchUpdateCount(resultCount);
     }
 
+    @Override
     public void nextRows(Query query, List<?> dataRows) {
 
         // exclude prefetched rows in the main result
@@ -537,14 +544,17 @@ class DataDomainQueryAction implements Q
         }
     }
 
+    @Override
     public void nextQueryException(Query query, Exception ex) {
         throw new CayenneRuntimeException("Query exception.", Util.unwindException(ex));
     }
 
+    @Override
     public void nextGlobalException(Exception e) {
         throw new CayenneRuntimeException("Global exception.", Util.unwindException(e));
     }
 
+    @Override
     public boolean isIteratedResult() {
         return false;
     }



Mime
View raw message