Skip to content

Commit 9aee5d9

Browse files
committed
Make default constructor private
1 parent ee0f911 commit 9aee5d9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • src/main/java/org/apache/commons/cli

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,8 @@ static String stripLeadingHyphens(final String str) {
7272
}
7373
return str;
7474
}
75+
76+
private Util() {
77+
// no instances
78+
}
7579
}

0 commit comments

Comments
 (0)