You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ni...@apache.org on 2016/10/05 10:39:03 UTC

svn commit: r1763399 - /poi/trunk/src/java/org/apache/poi/ss/util/PropertyTemplate.java

Author: nick
Date: Wed Oct  5 10:39:03 2016
New Revision: 1763399

URL: http://svn.apache.org/viewvc?rev=1763399&view=rev
Log:
Javadoc fixes

Modified:
    poi/trunk/src/java/org/apache/poi/ss/util/PropertyTemplate.java

Modified: poi/trunk/src/java/org/apache/poi/ss/util/PropertyTemplate.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/util/PropertyTemplate.java?rev=1763399&r1=1763398&r2=1763399&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/ss/util/PropertyTemplate.java (original)
+++ poi/trunk/src/java/org/apache/poi/ss/util/PropertyTemplate.java Wed Oct  5 10:39:03 2016
@@ -39,12 +39,12 @@ import org.apache.poi.ss.usermodel.Workb
  * draw all the borders for a single sheet. That template can be applied to any
  * sheet in any workbook.
  * 
- * This class requires the full spreadsheet to be in memory so {@link SWorkbook}
- * Spreadsheets are not supported. The same {@link PropertyTemplate} can,
- * however, be applied to both
- * {@link HSSFWorkbook}, and XSSFWorkbook objects if
- * necessary. Portions of the border that fall outside the max range of the
- * {@link HSSFWorkbook} sheet are ignored.
+ * This class requires the full spreadsheet to be in memory, so 
+ * {@link org.apache.poi.xssf.streaming.SXSSFWorkbook} Spreadsheets are not
+ * supported. The same {@link PropertyTemplate} can, however, be applied to both
+ * {@link HSSFWorkbook} and {@link org.apache.poi.xssf.usermodel.XSSFWorkbook}
+ * objects if necessary. Portions of the border that fall outside the max range
+ * of the {@link Workbook} sheet are ignored.
  * </p>
  * 
  * <p>
@@ -954,8 +954,8 @@ public final class PropertyTemplate {
      * Converts a Short object to a short value or 0 if the object is not a
      * Short
      *
-     * @param value
-     * @return
+     * @param value Potentially short value to convert
+     * @return short value, or 0 if not a short
      */
     private static short getShort(Object value) {
         if (value instanceof Short) {
@@ -963,4 +963,4 @@ public final class PropertyTemplate {
         }
         return 0;
     }
-}
\ No newline at end of file
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org