This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-cli.git
The following commit(s) were added to refs/heads/master by this push:
new 0ab5c5c5 Add @Override
0ab5c5c5 is described below
commit 0ab5c5c5f0b1e2994e604237a31a59591a3bd285
Author: Gary D. Gregory <[email protected]>
AuthorDate: Wed Jul 30 08:57:46 2025 -0400
Add @Override
---
src/main/java/org/apache/commons/cli/Option.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/main/java/org/apache/commons/cli/Option.java
b/src/main/java/org/apache/commons/cli/Option.java
index 2b6964dd..3f9d46ae 100644
--- a/src/main/java/org/apache/commons/cli/Option.java
+++ b/src/main/java/org/apache/commons/cli/Option.java
@@ -190,6 +190,7 @@ public class Option implements Cloneable, Serializable {
* @return the new {@link Option}.
* @throws IllegalStateException if neither {@code opt} or {@code
longOpt} has been set.
*/
+ @Override
public Option get() {
return new Option(this);
}