Skip to content

Commit d253242

Browse files
committed
Use final.
1 parent 03148b8 commit d253242

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/apache/commons/cli/help/AbstractHelpFormatter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ public void printHelp(final String cmdLineSyntax, final Options options) throws
309309
*/
310310
public void printHelp(final String cmdLineSyntax, final String header, final Iterable<Option> options, final String footer, final boolean autoUsage)
311311
throws IOException {
312-
Options optionsObject = new Options();
312+
final Options optionsObject = new Options();
313313
options.forEach(optionsObject::addOption);
314314
printHelp(cmdLineSyntax, header, optionsObject, footer, autoUsage);
315315
}

0 commit comments

Comments
 (0)