You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -787,15 +787,6 @@ public boolean hasLongOpt() {
787
787
returnlongOption != null;
788
788
}
789
789
790
-
/**
791
-
* Tests whether this Option has any values.
792
-
*
793
-
* @return whether this Option has any values.
794
-
*/
795
-
privatebooleanhasNoValues() {
796
-
returnvalues.isEmpty();
797
-
}
798
-
799
790
/**
800
791
* Tests whether this Option can have an optional argument.
801
792
*
@@ -834,6 +825,15 @@ public boolean isRequired() {
834
825
returnrequired;
835
826
}
836
827
828
+
/**
829
+
* Tests whether this Option has any values.
830
+
*
831
+
* @return whether this Option has any values.
832
+
*/
833
+
booleanisValuesEmpty() {
834
+
returnvalues.isEmpty();
835
+
}
836
+
837
837
/**
838
838
* Processes the value. If this Option has a value separator the value will have to be parsed into individual tokens. When n-1 tokens have been processed
839
839
* and there are more value separators in the value, parsing is ceased and the remaining characters are added as a single token.
0 commit comments