Skip to content

Commit 512b61a

Browse files
committed
Move "primary" and "xfrin" from tests to main tools
1 parent 3a510da commit 512b61a

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

src/main/java/org/xbill/DNS/tools/Tools.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ public static void main(String[] args) throws Exception {
99
System.out.println(" dig");
1010
System.out.println(" jnamed");
1111
System.out.println(" lookup");
12+
System.out.println(" primary");
1213
System.out.println(" update");
14+
System.out.println(" xfrin");
1315
System.exit(1);
1416
return;
1517
}
@@ -27,9 +29,15 @@ public static void main(String[] args) throws Exception {
2729
case "lookup":
2830
lookup.main(programArgs);
2931
break;
32+
case "primary":
33+
primary.main(programArgs);
34+
break;
3035
case "update":
3136
update.main(programArgs);
3237
break;
38+
case "xfrin":
39+
xfrin.main(programArgs);
40+
break;
3341
}
3442
}
3543
}

src/test/java/org/xbill/DNS/apps/primary.java renamed to src/main/java/org/xbill/DNS/tools/primary.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org)
22

3-
package org.xbill.DNS.apps;
3+
package org.xbill.DNS.tools;
44

55
import java.util.Iterator;
66
import org.xbill.DNS.Name;

src/test/java/org/xbill/DNS/apps/xfrin.java renamed to src/main/java/org/xbill/DNS/tools/xfrin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org)
22

3-
package org.xbill.DNS.apps;
3+
package org.xbill.DNS.tools;
44

55
import java.util.Iterator;
66
import java.util.List;

0 commit comments

Comments
 (0)