openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fa...@apache.org
Subject svn commit: r955581 - /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/graph/RelationGraph.java
Date Thu, 17 Jun 2010 13:07:22 GMT
Author: fancy
Date: Thu Jun 17 13:07:21 2010
New Revision: 955581

URL: http://svn.apache.org/viewvc?rev=955581&view=rev
Log:
OPENJPA-1686: Define generic persistent graph and relation. Implement graph as a set of edges.
Fix compile errors

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/graph/RelationGraph.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/graph/RelationGraph.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/graph/RelationGraph.java?rev=955581&r1=955580&r2=955581&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/graph/RelationGraph.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/graph/RelationGraph.java
Thu Jun 17 13:07:21 2010
@@ -103,7 +103,6 @@ public class RelationGraph<E> extends Pe
         return 0;
     }
 
-    @Override
     public <V extends E> Set<Relation<V, E>> getRelationsFrom(V source)
{
         Set<Relation<V,E>> rs = new HashSet<Relation<V,E>>();
         for (Relation<E,E> r : relations) {
@@ -113,7 +112,6 @@ public class RelationGraph<E> extends Pe
         return rs;
     }
 
-    @Override
     public <V extends E> Set<Relation<E, V>> getRelationsTo(V target) {
         Set<Relation<E, V>> rs = new HashSet<Relation<E, V>>();
         for (Relation<?,?> r : relations) {
@@ -123,7 +121,6 @@ public class RelationGraph<E> extends Pe
         return rs;
     }
 
-    @Override
     public Set<E> getSources(Object target) {
         Set<E> sources = new HashSet<E>();
         for (Relation<E,E> r : relations) {
@@ -133,7 +130,6 @@ public class RelationGraph<E> extends Pe
         return sources;
     }
 
-    @Override
     public Set<E> getTargets(Object source) {
         Set<E> targets = new HashSet<E>();
         for (Relation<E,E> r : relations) {



Mime
View raw message