You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by on...@apache.org on 2016/10/07 12:39:15 UTC

svn commit: r1763757 - in /poi/trunk/src: java/org/apache/poi/hssf/usermodel/HSSFComment.java java/org/apache/poi/ss/usermodel/Comment.java ooxml/java/org/apache/poi/xssf/usermodel/XSSFComment.java

Author: onealj
Date: Fri Oct  7 12:39:15 2016
New Revision: 1763757

URL: http://svn.apache.org/viewvc?rev=1763757&view=rev
Log:
bug 60216: javadocx fix for Comment#isVisible and Comment#setVisible; patch from Daniel Kueppers

Modified:
    poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFComment.java
    poi/trunk/src/java/org/apache/poi/ss/usermodel/Comment.java
    poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFComment.java

Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFComment.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFComment.java?rev=1763757&r1=1763756&r2=1763757&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFComment.java (original)
+++ poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFComment.java Fri Oct  7 12:39:15 2016
@@ -143,7 +143,7 @@ public class HSSFComment extends HSSFTex
     }
 
     /**
-     * Returns whether this comment is visible.
+     * Sets whether this comment is visible.
      *
      * @param visible <code>true</code> if the comment is visible, <code>false</code> otherwise
      */
@@ -154,7 +154,7 @@ public class HSSFComment extends HSSFTex
     }
 
     /**
-     * Sets whether this comment is visible.
+     * Returns whether this comment is visible.
      *
      * @return <code>true</code> if the comment is visible, <code>false</code> otherwise
      */

Modified: poi/trunk/src/java/org/apache/poi/ss/usermodel/Comment.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/usermodel/Comment.java?rev=1763757&r1=1763756&r2=1763757&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/ss/usermodel/Comment.java (original)
+++ poi/trunk/src/java/org/apache/poi/ss/usermodel/Comment.java Fri Oct  7 12:39:15 2016
@@ -22,14 +22,14 @@ import org.apache.poi.ss.util.CellAddres
 public interface Comment {
 
     /**
-     * Returns whether this comment is visible.
+     * Sets whether this comment is visible.
      *
      * @param visible <code>true</code> if the comment is visible, <code>false</code> otherwise
      */
     void setVisible(boolean visible);
 
     /**
-     * Sets whether this comment is visible.
+     * Returns whether this comment is visible.
      *
      * @return <code>true</code> if the comment is visible, <code>false</code> otherwise
      */

Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFComment.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFComment.java?rev=1763757&r1=1763756&r2=1763757&view=diff
==============================================================================
--- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFComment.java (original)
+++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFComment.java Fri Oct  7 12:39:15 2016
@@ -102,7 +102,9 @@ public class XSSFComment implements Comm
     }
 
     /**
-     * @return whether the comment is visible
+     * Returns whether this comment is visible.
+     *
+     * @return <code>true</code> if the comment is visible, <code>false</code> otherwise
      */
     @Override
     public boolean isVisible() {
@@ -115,7 +117,9 @@ public class XSSFComment implements Comm
     }
 
     /**
-     * @param visible whether the comment is visible
+     * Sets whether this comment is visible.
+     *
+     * @param visible <code>true</code> if the comment is visible, <code>false</code> otherwise
      */
     @Override
     public void setVisible(boolean visible) {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org