diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFDataFormat.java b/src/java/org/apache/poi/hssf/usermodel/HSSFDataFormat.java index 64fbccb8b..4340c1305 100644 --- a/src/java/org/apache/poi/hssf/usermodel/HSSFDataFormat.java +++ b/src/java/org/apache/poi/hssf/usermodel/HSSFDataFormat.java @@ -205,12 +205,12 @@ public class HSSFDataFormat } /** - * get the format index that matches the given format string. - * Creates a new format if one is not found. Aliases text to the proper format. + * Get the format index that matches the given format + * string, creating a new format entry if required. + * Aliases text to the proper format as required. * @param format string matching a built in format * @return index of format. */ - public short getFormat( String format ) { ListIterator i;