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 2006/10/14 22:22:57 UTC

svn commit: r464016 - in /incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/property: AbstractSingleObjectArcProperty.java ArcProperty.java

Author: aadamchik
Date: Sat Oct 14 13:22:56 2006
New Revision: 464016

URL: http://svn.apache.org/viewvc?view=rev&rev=464016
Log:
fixing argument name of the "isFault" method. It was called "target" incorrectly, as the method 
should operate on a source of the relationship

Modified:
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/property/AbstractSingleObjectArcProperty.java
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/property/ArcProperty.java

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/property/AbstractSingleObjectArcProperty.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/property/AbstractSingleObjectArcProperty.java?view=diff&rev=464016&r1=464015&r2=464016
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/property/AbstractSingleObjectArcProperty.java (original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/property/AbstractSingleObjectArcProperty.java Sat Oct 14 13:22:56 2006
@@ -133,5 +133,5 @@
         return targetDescriptor;
     }
 
-    public abstract boolean isFault(Object target);
+    public abstract boolean isFault(Object source);
 }

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/property/ArcProperty.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/property/ArcProperty.java?view=diff&rev=464016&r1=464015&r2=464016
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/property/ArcProperty.java (original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/property/ArcProperty.java Sat Oct 14 13:22:56 2006
@@ -53,6 +53,8 @@
 
     /**
      * Returns whether a target node connected to a given object is an unresolved fault.
+     * 
+     * @param source an object that is a source object of the relationship.
      */
-    boolean isFault(Object target);
+    boolean isFault(Object source);
 }