Skip to content

Commit 4f35142

Browse files
committed
Use final
1 parent b906eee commit 4f35142

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ private static PrintWriter createDefaultPrintWriter() {
200200
* @since 1.8.0
201201
*/
202202
public static String getDescription(final Option option) {
203-
String desc = option.getDescription();
203+
final String desc = option.getDescription();
204204
return desc == null ? "" : desc;
205205
}
206206

0 commit comments

Comments
 (0)