From: Javen O'Neal Date: Fri, 4 Dec 2015 07:10:26 +0000 (+0000) Subject: fix javadoc errors X-Git-Tag: REL_3_14_BETA1~22 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ac65d1333d911766eb3381561ff57d01345ca3cb;p=poi.git fix javadoc errors git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717903 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java b/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java index a5e86b6309..53b12a1163 100644 --- a/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java +++ b/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java @@ -2554,9 +2554,9 @@ public final class HSSFSheet implements org.apache.poi.ss.usermodel.Sheet { * {@inheritDoc} */ @Override - public void setActiveCell(CellAddress addr) { - int row = addr.getRow(); - short col = (short) addr.getColumn(); + public void setActiveCell(CellAddress address) { + int row = address.getRow(); + short col = (short) address.getColumn(); _sheet.setActiveCellRow(row); _sheet.setActiveCellCol(col); } diff --git a/src/java/org/apache/poi/ss/usermodel/Sheet.java b/src/java/org/apache/poi/ss/usermodel/Sheet.java index 56758c6c08..aa37943327 100644 --- a/src/java/org/apache/poi/ss/usermodel/Sheet.java +++ b/src/java/org/apache/poi/ss/usermodel/Sheet.java @@ -1130,8 +1130,8 @@ public interface Sheet extends Iterable { /** * Sets location of the active cell * - * @param cellRef the location of the active cell, e.g. A1. + * @param addr the location of the active cell, e.g. A1. * @since 3.14beta2 */ - public void setActiveCell(CellAddress addr); + public void setActiveCell(CellAddress address); } diff --git a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java index 3b4bd76e13..046c1684e5 100644 --- a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java +++ b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java @@ -1887,7 +1887,7 @@ public class SXSSFSheet implements Sheet, Cloneable * {@inheritDoc} */ @Override - public void setActiveCell(CellAddress addr) { - _sh.setActiveCell(addr); + public void setActiveCell(CellAddress address) { + _sh.setActiveCell(address); } }