You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2016/08/12 16:32:27 UTC

cayenne git commit: 1.5 compatibility broken

Repository: cayenne
Updated Branches:
  refs/heads/STABLE-3.1 4b88b432e -> b7e44c91b


1.5 compatibility broken


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/b7e44c91
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/b7e44c91
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/b7e44c91

Branch: refs/heads/STABLE-3.1
Commit: b7e44c91b2cdfa85eebdb4b7130b3e597c3d0df0
Parents: 4b88b43
Author: Andrus Adamchik <an...@objectstyle.com>
Authored: Fri Aug 12 19:32:22 2016 +0300
Committer: Andrus Adamchik <an...@objectstyle.com>
Committed: Fri Aug 12 19:32:22 2016 +0300

----------------------------------------------------------------------
 .../access/DataContextObjectIdQuery_PolymorphicTest.java       | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/b7e44c91/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/access/DataContextObjectIdQuery_PolymorphicTest.java
----------------------------------------------------------------------
diff --git a/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/access/DataContextObjectIdQuery_PolymorphicTest.java b/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/access/DataContextObjectIdQuery_PolymorphicTest.java
index 9c52bf9..e656b7d 100644
--- a/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/access/DataContextObjectIdQuery_PolymorphicTest.java
+++ b/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/access/DataContextObjectIdQuery_PolymorphicTest.java
@@ -53,7 +53,6 @@ public class DataContextObjectIdQuery_PolymorphicTest extends ServerCase {
 
 		queryInterceptor.runWithQueriesBlocked(new UnitTestClosure() {
 
-			@Override
 			public void execute() {
 				// use different context to ensure we hit shared cache
 				AbstractPerson ap2 = (AbstractPerson) Cayenne.objectForQuery(context2, q1);
@@ -73,8 +72,7 @@ public class DataContextObjectIdQuery_PolymorphicTest extends ServerCase {
 		assertTrue(ap1 instanceof Manager);
 
 		queryInterceptor.runWithQueriesBlocked(new UnitTestClosure() {
-
-			@Override
+			
 			public void execute() {
 				// use same context to ensure we hit local cache
 				// note that this does not guarantee test correctness. If local
@@ -105,7 +103,7 @@ public class DataContextObjectIdQuery_PolymorphicTest extends ServerCase {
 
 
 		queryInterceptor.runWithQueriesBlocked(new UnitTestClosure() {
-			
+
 			public void execute() {
 				// use different context to ensure we hit shared cache
 				AbstractPerson ap1 = (AbstractPerson) Cayenne.objectForQuery(context2, q1);