diff --git a/src/main/java/org/apache/commons/cli/Option.java b/src/main/java/org/apache/commons/cli/Option.java index 6062d9d80..73f98d693 100644 --- a/src/main/java/org/apache/commons/cli/Option.java +++ b/src/main/java/org/apache/commons/cli/Option.java @@ -721,9 +721,9 @@ public String getValue(final String defaultValue) { } /** - * Gets the values of this Option as a String array or an empty array if there are no values. + * Gets the values of this Option as a String array or {@code null} if there are no values. * - * @return The values of this Option as a String array or an empty array if there are no values. + * @return The values of this Option as a String array or {@code null} if there are no values. */ public String[] getValues() { return isValuesEmpty() ? null : values.toArray(EMPTY_STRING_ARRAY);