Skip to content

Commit f38c494

Browse files
committed
Sort members.
1 parent 20585e0 commit f38c494

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ public AlreadySelectedException(final OptionGroup group, final Option option) {
4545
group, option);
4646
}
4747

48-
private AlreadySelectedException(final String message, final OptionGroup group, final Option option) {
49-
super(message);
50-
this.group = group;
51-
this.option = option;
52-
}
53-
5448
/**
5549
* Constructs a new {@code AlreadySelectedException} with the specified detail message.
5650
*
@@ -60,6 +54,12 @@ public AlreadySelectedException(final String message) {
6054
this(message, null, null);
6155
}
6256

57+
private AlreadySelectedException(final String message, final OptionGroup group, final Option option) {
58+
super(message);
59+
this.group = group;
60+
this.option = option;
61+
}
62+
6363
/**
6464
* Gets the option that was added to the group and triggered the exception.
6565
*

0 commit comments

Comments
 (0)