Skip to content

Commit ad82cd5

Browse files
committed
Remove useless parens.
1 parent 0dff711 commit ad82cd5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ public int getId() {
535535
*/
536536
String getKey() {
537537
// if 'opt' is null, then it is a 'long' option
538-
return (opt == null) ? longOpt : opt;
538+
return opt == null ? longOpt : opt;
539539
}
540540

541541
/**

0 commit comments

Comments
 (0)