Skip to content

Commit 1b44795

Browse files
committed
Whitespace
1 parent 494c45e commit 1b44795

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/main/java/org/apache/commons/cli/CommandLine.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ public Properties getOptionProperties(final Option option) {
188188
processPropertiesFromValues(props, processedOption.getValuesList());
189189
}
190190
}
191-
192191
return props;
193192
}
194193

@@ -209,7 +208,6 @@ public Properties getOptionProperties(final String opt) {
209208
processPropertiesFromValues(props, option.getValuesList());
210209
}
211210
}
212-
213211
return props;
214212
}
215213

@@ -348,13 +346,11 @@ public String[] getOptionValues(final char opt) {
348346
*/
349347
public String[] getOptionValues(final Option option) {
350348
final List<String> values = new ArrayList<>();
351-
352349
for (final Option processedOption : options) {
353350
if (processedOption.equals(option)) {
354351
values.addAll(processedOption.getValuesList());
355352
}
356353
}
357-
358354
return values.isEmpty() ? null : values.toArray(EMPTY_STRING_ARRAY);
359355
}
360356

@@ -440,7 +436,6 @@ public <T> T getParsedOptionValue(final Option option) throws ParseException {
440436
@SuppressWarnings("unchecked")
441437
public <T> T getParsedOptionValue(final Option option, final Supplier<T> defaultValue) throws ParseException {
442438
final String res = option == null ? null : getOptionValue(option);
443-
444439
try {
445440
if (res == null) {
446441
return defaultValue == null ? null : defaultValue.get();

0 commit comments

Comments
 (0)