]> source.dussan.org Git - poi.git/commitdiff
update javadoc for clarification about non-literal lists
authorJaven O'Neal <onealj@apache.org>
Sun, 19 Jun 2016 06:23:57 +0000 (06:23 +0000)
committerJaven O'Neal <onealj@apache.org>
Sun, 19 Jun 2016 06:23:57 +0000 (06:23 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1749133 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/poi/ss/usermodel/DataValidationConstraint.java
src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDataValidationConstraint.java

index e3d2c376db0196f16f830f7f0ce41e589b40dce6..38f78e868114af4d6207c797911acccd94cdc57e 100644 (file)
@@ -37,6 +37,12 @@ public interface DataValidationConstraint {
         */
        public abstract void setOperator(int operator);
 
+    /**
+        * If validation type is {@link ValidationType#LIST}
+        * and <code>formula1</code> was comma-separated literal values rather than a range or named range,
+        * returns list of literal values.
+        * Otherwise returns <code>null</code>.
+        */
        public abstract String[] getExplicitListValues();
 
        public abstract void setExplicitListValues(String[] explicitListValues);
index 133455ab1781f460add47acdcc7bfaae924b75ee..a1dc7623937ca2afc809939343451a2ac59870f8 100644 (file)
@@ -90,9 +90,7 @@ public class XSSFDataValidationConstraint implements DataValidationConstraint {
                }
        }
 
-       /**
-        * If validation type is {@link org.apache.poi.ss.usermodel.DataValidationConstraint.ValidationType#LIST}, returns list of literal values.
-        * Otherwise returns <code>null</code>.
+       /* (non-Javadoc)
         * @see org.apache.poi.ss.usermodel.DataValidationConstraint#getExplicitListValues()
         */
        public String[] getExplicitListValues() {