From 74227421edb12f27541bc32ca650aba552edc89e Mon Sep 17 00:00:00 2001 From: Javen O'Neal Date: Sun, 6 Dec 2015 21:43:26 +0000 Subject: [PATCH] bug 57450: javadoc fixes from Stefan Thurnherr git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1718226 13f79535-47bb-0310-9956-ffa450edef68 --- .../poi/xssf/streaming/AutoSizeColumnTracker.java | 2 +- .../java/org/apache/poi/xssf/streaming/SXSSFSheet.java | 10 ++-------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/ooxml/java/org/apache/poi/xssf/streaming/AutoSizeColumnTracker.java b/src/ooxml/java/org/apache/poi/xssf/streaming/AutoSizeColumnTracker.java index f350469110..03a29a3674 100644 --- a/src/ooxml/java/org/apache/poi/xssf/streaming/AutoSizeColumnTracker.java +++ b/src/ooxml/java/org/apache/poi/xssf/streaming/AutoSizeColumnTracker.java @@ -255,7 +255,7 @@ import org.apache.poi.util.Internal; * * @param column the index of the column to get the current best-fit width of * @param useMergedCells true if merged cells should be considered when computing the best-fit width - * @return best-fit column width, measured in units of 1/256th of a character width + * @return best-fit column width, measured in number of characters * @throws IllegalStateException if column is not tracked and trackAllColumns is false * @since 3.14beta1 */ 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 046c1684e5..73863ce50b 100644 --- a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java +++ b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java @@ -1388,7 +1388,7 @@ public class SXSSFSheet implements Sheet, Cloneable * Note this has undefined behavior if a column is tracked after one or more rows are written to the sheet. * If column is already tracked, this call does nothing. * - * @param column the column to track for autosizing + * @param column the column to track for auto-sizing * @since 3.14beta1 * @see #trackColumnsForAutoSizing(Collection) * @see #trackAllColumnsForAutoSizing() @@ -1403,7 +1403,7 @@ public class SXSSFSheet implements Sheet, Cloneable * Note this has undefined behavior if columns are tracked after one or more rows are written to the sheet. * Any column in columns that are already tracked are ignored by this call. * - * @param columns the columns to track for autosizing + * @param columns the columns to track for auto-sizing * @since 3.14beta1 */ public void trackColumnsForAutoSizing(Collection columns) @@ -1427,12 +1427,6 @@ public class SXSSFSheet implements Sheet, Cloneable * If column is not tracked, it will be ignored by this call. * * @param column the index of the column to track for auto-sizing - * @return true if column was tracked prior to being untracked, false if no action was taken - */ - /** - * - * - * @param column the index of the column to track for auto-sizing * @return true if column was tracked prior to this call, false if no action was taken * @since 3.14beta1 * @see #untrackColumnsForAutoSizing(Collection) -- 2.39.5