bug 60216: javadocx fix for Comment#isVisible and Comment#setVisible; patch from Daniel Kueppers

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1763757 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2016-10-07 12:39:15 +00:00
parent c5dbecedab
commit 21627eb1ab
3 changed files with 10 additions and 6 deletions

View File

@ -143,7 +143,7 @@ public class HSSFComment extends HSSFTextbox implements 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 * @param visible <code>true</code> if the comment is visible, <code>false</code> otherwise
*/ */
@ -154,7 +154,7 @@ public class HSSFComment extends HSSFTextbox implements Comment {
} }
/** /**
* 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 * @return <code>true</code> if the comment is visible, <code>false</code> otherwise
*/ */

View File

@ -22,14 +22,14 @@ import org.apache.poi.ss.util.CellAddress;
public interface Comment { 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 * @param visible <code>true</code> if the comment is visible, <code>false</code> otherwise
*/ */
void setVisible(boolean visible); 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 * @return <code>true</code> if the comment is visible, <code>false</code> otherwise
*/ */

View File

@ -102,7 +102,9 @@ public class XSSFComment implements Comment {
} }
/** /**
* @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 @Override
public boolean isVisible() { public boolean isVisible() {
@ -115,7 +117,9 @@ public class XSSFComment implements Comment {
} }
/** /**
* @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 @Override
public void setVisible(boolean visible) { public void setVisible(boolean visible) {