poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiwiwi...@apache.org
Subject svn commit: r1634412 - in /poi: site/src/documentation/content/xdocs/status.xml trunk/src/java/org/apache/poi/ss/util/WorkbookUtil.java
Date Mon, 27 Oct 2014 00:36:13 GMT
Author: kiwiwings
Date: Mon Oct 27 00:36:13 2014
New Revision: 1634412

URL: http://svn.apache.org/r1634412
Log:
Bug 57143 - Javadocs and throws clause for WorkbookUtil

Modified:
    poi/site/src/documentation/content/xdocs/status.xml
    poi/trunk/src/java/org/apache/poi/ss/util/WorkbookUtil.java

Modified: poi/site/src/documentation/content/xdocs/status.xml
URL: http://svn.apache.org/viewvc/poi/site/src/documentation/content/xdocs/status.xml?rev=1634412&r1=1634411&r2=1634412&view=diff
==============================================================================
--- poi/site/src/documentation/content/xdocs/status.xml (original)
+++ poi/site/src/documentation/content/xdocs/status.xml Mon Oct 27 00:36:13 2014
@@ -38,6 +38,7 @@
     </devs>
 
     <release version="3.11-beta3" date="2014-??-??">
+        <action dev="PD" type="fix" fixes-bug="57143">Javadocs and throws clause for
WorkbookUtil</action>
         <action dev="PD" type="add" fixes-bug="54542">Add support for cropped images
in XSLFPictureShape.drawContent()</action>
         <action dev="PD" type="add">added ooxml-security-1.0 to the maven artifacts</action>
         <action dev="PD" type="fix" fixes-bug="55864">XSSFImportFromXML.importFromXML()
does not support optional elements</action>

Modified: poi/trunk/src/java/org/apache/poi/ss/util/WorkbookUtil.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/util/WorkbookUtil.java?rev=1634412&r1=1634411&r2=1634412&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/ss/util/WorkbookUtil.java (original)
+++ poi/trunk/src/java/org/apache/poi/ss/util/WorkbookUtil.java Mon Oct 27 00:36:13 2014
@@ -124,6 +124,7 @@ public class WorkbookUtil {
      * </p>
      *
      * @param sheetName the name to validate
+     * @throws IllegalArgumentException if validation fails
      */
     public static void validateSheetName(String sheetName) {
         if (sheetName == null) {
@@ -160,6 +161,15 @@ public class WorkbookUtil {
     }
 
 
+    /**
+     * Validates sheet state
+     *
+     * @param state the state to validate
+     * @throws IllegalArgumentException if state is not one of
+     *      {@link Workbook#SHEET_STATE_VISIBLE},
+     *      {@link Workbook#SHEET_STATE_HIDDEN} or
+     *      {@link Workbook#SHEET_STATE_VERY_HIDDEN}
+     */
     public static void validateSheetState(int state) {
         switch(state){
             case Workbook.SHEET_STATE_VISIBLE: break;



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


Mime
View raw message