File tree Expand file tree Collapse file tree
main/java/org/apache/commons/cli
test/java/org/apache/commons/cli Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ public Builder numberOfArgs(final int numberOfArgs) {
187187 * @throws IllegalArgumentException if there are any non valid Option characters in {@code opt}
188188 * @since 1.5.0
189189 */
190- public Builder option (String option ) throws IllegalArgumentException {
190+ public Builder option (final String option ) throws IllegalArgumentException {
191191 this .option = OptionValidator .validate (option );
192192 return this ;
193193 }
Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ public void testPrintHelpNewlineHeader() {
339339 0 ,
340340 "footer" + EOL
341341 );
342- String expected = "usage: test" + EOL +
342+ final String expected = "usage: test" + EOL +
343343 EOL +
344344 "-ab" + EOL +
345345 "footer" + EOL ;
You can’t perform that action at this time.
0 commit comments