jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r382343 - /incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/NodeReferencesId.java
Date Thu, 02 Mar 2006 10:26:08 GMT
Author: stefan
Date: Thu Mar  2 02:26:04 2006
New Revision: 382343

URL: http://svn.apache.org/viewcvs?rev=382343&view=rev
Log:
javadoc

Modified:
    incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/NodeReferencesId.java

Modified: incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/NodeReferencesId.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/NodeReferencesId.java?rev=382343&r1=382342&r2=382343&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/NodeReferencesId.java
(original)
+++ incubator/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/NodeReferencesId.java
Thu Mar  2 02:26:04 2006
@@ -35,7 +35,8 @@
     private final NodeId targetId;
 
     /**
-     * Creates a new instance of this class. Takes a UUID as parameter.
+     * Creates a new instance of this class. Takes the uuid of the target node
+     * as parameter.
      *
      * @param uuid uuid of target node
      * @throws IllegalArgumentException if <code>uuid</code> is <code>null</code>.
@@ -45,16 +46,17 @@
     }
 
     /**
-     * Creates a new instance of this class. Takes an id as parameter.
+     * Creates a new instance of this class. Takes the id of the target node
+     * as parameter.
      *
-     * @param id the id of target node
-     * @throws IllegalArgumentException if <code>id</code> is <code>null</code>.
+     * @param targetId id of target node
+     * @throws IllegalArgumentException if <code>targetId</code> is <code>null</code>.
      */
-    public NodeReferencesId(NodeId id) {
-        if (id == null) {
-            throw new IllegalArgumentException("id must not be null");
+    public NodeReferencesId(NodeId targetId) {
+        if (targetId == null) {
+            throw new IllegalArgumentException("targetId must not be null");
         }
-        targetId = id;
+        this.targetId = targetId;
     }
 
     /**



Mime
View raw message