Skip to content

Commit d6c2e6b

Browse files
committed
Remove redundant keyword
1 parent a78cff6 commit d6c2e6b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ public Builder option(final String option) throws IllegalArgumentException {
257257
* @return this builder.
258258
*/
259259
public Builder optionalArg(final boolean optionalArg) {
260-
if (optionalArg && this.argCount == UNINITIALIZED) {
261-
this.argCount = 1;
260+
if (optionalArg && argCount == UNINITIALIZED) {
261+
argCount = 1;
262262
}
263263
this.optionalArg = optionalArg;
264264
return this;

0 commit comments

Comments
 (0)