Skip to content

Commit 7411e1f

Browse files
author
Robert James Oxspring
committed
SourceDestArgument has no need to reference ArgumentImpl anymore, replaced with Argument instead
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/cli/trunk@130067 13f79535-47bb-0310-9956-ffa450edef68
1 parent 8f95e4a commit 7411e1f

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

src/java/org/apache/commons/cli2/option/SourceDestArgument.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import java.util.List;
2222
import java.util.Set;
2323

24+
import org.apache.commons.cli2.Argument;
2425
import org.apache.commons.cli2.Option;
2526
import org.apache.commons.cli2.OptionException;
2627
import org.apache.commons.cli2.WriteableCommandLine;
@@ -36,8 +37,8 @@ private static int sum(final int a, final int b) {
3637
return Math.max(a, Math.max(b, a + b));
3738
}
3839

39-
private final ArgumentImpl source;
40-
private final ArgumentImpl dest;
40+
private final Argument source;
41+
private final Argument dest;
4142

4243
/**
4344
* Creates a SourceDestArgument using defaults where possible.
@@ -46,8 +47,8 @@ private static int sum(final int a, final int b) {
4647
* @param dest the fixed size Argument
4748
*/
4849
public SourceDestArgument(
49-
final ArgumentImpl source,
50-
final ArgumentImpl dest) {
50+
final Argument source,
51+
final Argument dest) {
5152
this(
5253
source,
5354
dest,
@@ -68,8 +69,8 @@ public SourceDestArgument(
6869
* @param defaultValues the default values for the SourceDestArgument
6970
*/
7071
public SourceDestArgument(
71-
final ArgumentImpl source,
72-
final ArgumentImpl dest,
72+
final Argument source,
73+
final Argument dest,
7374
final char initialSeparator,
7475
final char subsequentSeparator,
7576
final String consumeRemaining,

0 commit comments

Comments
 (0)