cayenne-commits mailing list archives

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

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

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

Modified: cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/DataDomain.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/DataDomain.java?rev=1538350&r1=1538349&r2=1538350&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/DataDomain.java
(original)
+++ cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/DataDomain.java
Sun Nov  3 12:34:15 2013
@@ -591,6 +591,7 @@ public class DataDomain implements Query
      * 
      * @since 1.2
      */
+    @Override
     public QueryResponse onQuery(final ObjectContext originatingContext, final Query query)
{
         checkStopped();
 
@@ -609,6 +610,7 @@ public class DataDomain implements Query
      * Returns an EntityResolver that stores mapping information for this
      * domain.
      */
+    @Override
     public EntityResolver getEntityResolver() {
         if (entityResolver == null) {
             createEntityResolver();
@@ -622,6 +624,7 @@ public class DataDomain implements Query
      * 
      * @since 1.2
      */
+    @Override
     public GraphDiff onSync(final ObjectContext originatingContext, final GraphDiff changes,
int syncType) {
 
         checkStopped();
@@ -647,6 +650,7 @@ public class DataDomain implements Query
         case DataChannel.FLUSH_CASCADE_SYNC:
             result = (GraphDiff) runInTransaction(new Transformer() {
 
+                @Override
                 public Object transform(Object input) {
                     return onSyncFlush(originatingContext, changes);
                 }
@@ -832,6 +836,7 @@ public class DataDomain implements Query
 
     final class DataDomainQueryFilterChain extends DataDomainFilterChain {
 
+        @Override
         public QueryResponse onQuery(ObjectContext originatingContext, Query query) {
 
             DataChannelFilter filter = nextFilter();
@@ -839,6 +844,7 @@ public class DataDomain implements Query
                     originatingContext, query);
         }
 
+        @Override
         public GraphDiff onSync(ObjectContext originatingContext, GraphDiff changes, int
syncType) {
             throw new UnsupportedOperationException("It is illegal to call 'onSync' inside
'onQuery' chain");
         }
@@ -846,6 +852,7 @@ public class DataDomain implements Query
 
     final class DataDomainSyncFilterChain extends DataDomainFilterChain {
 
+        @Override
         public GraphDiff onSync(final ObjectContext originatingContext, final GraphDiff changes,
int syncType) {
 
             DataChannelFilter filter = nextFilter();
@@ -853,6 +860,7 @@ public class DataDomain implements Query
                     originatingContext, changes, syncType);
         }
 
+        @Override
         public QueryResponse onQuery(ObjectContext originatingContext, Query query) {
             throw new UnsupportedOperationException("It is illegal to call 'onQuery' inside
'onSync' chain");
         }



Mime
View raw message