diff --git a/src/java/org/apache/poi/ss/usermodel/DataValidationConstraint.java b/src/java/org/apache/poi/ss/usermodel/DataValidationConstraint.java
index e3d2c376db..38f78e8681 100644
--- a/src/java/org/apache/poi/ss/usermodel/DataValidationConstraint.java
+++ b/src/java/org/apache/poi/ss/usermodel/DataValidationConstraint.java
@@ -37,6 +37,12 @@ public interface DataValidationConstraint {
*/
public abstract void setOperator(int operator);
+ /**
+ * If validation type is {@link ValidationType#LIST}
+ * and formula1
was comma-separated literal values rather than a range or named range,
+ * returns list of literal values.
+ * Otherwise returns null
.
+ */
public abstract String[] getExplicitListValues();
public abstract void setExplicitListValues(String[] explicitListValues);
diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDataValidationConstraint.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDataValidationConstraint.java
index 133455ab17..a1dc762393 100644
--- a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDataValidationConstraint.java
+++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDataValidationConstraint.java
@@ -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 null
.
+ /* (non-Javadoc)
* @see org.apache.poi.ss.usermodel.DataValidationConstraint#getExplicitListValues()
*/
public String[] getExplicitListValues() {