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 f35046911..03a29a367 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 046c1684e..73863ce50 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)