You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by tr...@apache.org on 2008/04/03 01:42:07 UTC

svn commit: r644111 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/NodeState.java

Author: tripod
Date: Wed Apr  2 16:42:06 2008
New Revision: 644111

URL: http://svn.apache.org/viewvc?rev=644111&view=rev
Log:
Fixing some javadocs

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/NodeState.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/NodeState.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/NodeState.java?rev=644111&r1=644110&r2=644111&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/NodeState.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/NodeState.java Wed Apr  2 16:42:06 2008
@@ -100,7 +100,7 @@
 
     /**
      * Shared set, consisting of the parent ids of this shareable node. This
-     * entry is {@link Collections.EMPTY_SET} if this node is not shareable.
+     * entry is {@link Collections#EMPTY_SET} if this node is not shareable.
      */
     private Set sharedSet = Collections.EMPTY_SET;
 
@@ -471,6 +471,8 @@
     /**
      * Sets the list of <code>ChildNodeEntry</code> objects denoting the
      * child nodes of this node.
+     * @param nodeEntries list of {@link ChildNodeEntry} or
+     * a {@link ChildNodeEntries} list.
      */
     public synchronized void setChildNodeEntries(List nodeEntries) {
         if (nodeEntries instanceof ChildNodeEntries) {
@@ -546,6 +548,7 @@
     /**
      * Sets the set of <code>Name</code> objects denoting the
      * properties of this node.
+     * @param propNames set of {@link Name}s.
      */
     public synchronized void setPropertyNames(Set propNames) {
         if (propNames instanceof HashSet) {
@@ -576,6 +579,7 @@
     /**
      * Return a flag indicating whether this state is shareable, i.e. whether
      * there is at least one member inside its shared set.
+     * @return <code>true</code> if this state is shareable.
      */
     public synchronized boolean isShareable() {
         return sharedSet != Collections.EMPTY_SET;
@@ -927,6 +931,7 @@
 
     /**
      * Notify the listeners that a child node entry has been added
+     * @param added the entry that was added
      */
     protected void notifyNodeAdded(ChildNodeEntry added) {
         if (listener != null) {
@@ -945,6 +950,7 @@
 
     /**
      * Notify the listeners that a child node entry has been removed
+     * @param removed the entry that was removed
      */
     protected void notifyNodeRemoved(ChildNodeEntry removed) {
         if (listener != null) {