From 4c85cdce4a3c0accb003c7c8b27a11a68ee154a3 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Wed, 31 Dec 2008 20:11:27 +0000 Subject: [PATCH] * moved Main and AllTests into from default to net.sourceforge.filebot package * removed version identifier from lib jars --- build.xml | 124 ++++++++++-------- lib/{args4j-2.0.9.jar => args4j.jar} | Bin ...lists-1.7.0_java15.jar => glazedlists.jar} | Bin lib/{junit-4.4.jar => junit.jar} | Bin ...iglayout-3.6.2-swing.jar => miglayout.jar} | Bin lib/{nekohtml-1.9.7.jar => nekohtml.jar} | Bin ...ar_v1_6_2_d07_02_07.jar => simmetrics.jar} | Bin ...mlrpc-client-1.1.jar => xmlrpc-client.jar} | Bin .../{ => net/sourceforge/filebot}/Main.java | 3 +- .../sourceforge/filebot}/AllTests.java | 2 +- .../sourceforge/tuned/FilterIteratorTest.java | 6 +- 11 files changed, 73 insertions(+), 62 deletions(-) rename lib/{args4j-2.0.9.jar => args4j.jar} (100%) rename lib/{glazedlists-1.7.0_java15.jar => glazedlists.jar} (100%) rename lib/{junit-4.4.jar => junit.jar} (100%) rename lib/{miglayout-3.6.2-swing.jar => miglayout.jar} (100%) rename lib/{nekohtml-1.9.7.jar => nekohtml.jar} (100%) rename lib/{simmetrics_jar_v1_6_2_d07_02_07.jar => simmetrics.jar} (100%) rename lib/{xmlrpc-client-1.1.jar => xmlrpc-client.jar} (100%) rename source/{ => net/sourceforge/filebot}/Main.java (96%) rename test/{ => net/sourceforge/filebot}/AllTests.java (84%) diff --git a/build.xml b/build.xml index 3023e762..d3cbef28 100644 --- a/build.xml +++ b/build.xml @@ -1,46 +1,58 @@ - - + - + + + + - - - - - - - - - - - - - - - - - + + + + + - + - - - + + + + - - + + + + + + + + + + + + + + + + + + + + + + + - + @@ -50,33 +62,33 @@ - + - + - + - + - + - + @@ -89,7 +101,7 @@ - + @@ -99,43 +111,43 @@ - - - - - - - - - - - - - + + + - - + + + + + + + + + + + + + + + + + - - + + - - - - - diff --git a/lib/args4j-2.0.9.jar b/lib/args4j.jar similarity index 100% rename from lib/args4j-2.0.9.jar rename to lib/args4j.jar diff --git a/lib/glazedlists-1.7.0_java15.jar b/lib/glazedlists.jar similarity index 100% rename from lib/glazedlists-1.7.0_java15.jar rename to lib/glazedlists.jar diff --git a/lib/junit-4.4.jar b/lib/junit.jar similarity index 100% rename from lib/junit-4.4.jar rename to lib/junit.jar diff --git a/lib/miglayout-3.6.2-swing.jar b/lib/miglayout.jar similarity index 100% rename from lib/miglayout-3.6.2-swing.jar rename to lib/miglayout.jar diff --git a/lib/nekohtml-1.9.7.jar b/lib/nekohtml.jar similarity index 100% rename from lib/nekohtml-1.9.7.jar rename to lib/nekohtml.jar diff --git a/lib/simmetrics_jar_v1_6_2_d07_02_07.jar b/lib/simmetrics.jar similarity index 100% rename from lib/simmetrics_jar_v1_6_2_d07_02_07.jar rename to lib/simmetrics.jar diff --git a/lib/xmlrpc-client-1.1.jar b/lib/xmlrpc-client.jar similarity index 100% rename from lib/xmlrpc-client-1.1.jar rename to lib/xmlrpc-client.jar diff --git a/source/Main.java b/source/net/sourceforge/filebot/Main.java similarity index 96% rename from source/Main.java rename to source/net/sourceforge/filebot/Main.java index 3e75f856..46a84be7 100644 --- a/source/Main.java +++ b/source/net/sourceforge/filebot/Main.java @@ -1,3 +1,4 @@ +package net.sourceforge.filebot; import java.util.logging.Level; import java.util.logging.Logger; import java.util.prefs.BackingStoreException; @@ -6,8 +7,6 @@ import java.util.prefs.Preferences; import javax.swing.SwingUtilities; import javax.swing.UIManager; -import net.sourceforge.filebot.ArgumentBean; -import net.sourceforge.filebot.FileBotUtil; import net.sourceforge.filebot.ui.FileBotWindow; import net.sourceforge.filebot.ui.NotificationLoggingHandler; diff --git a/test/AllTests.java b/test/net/sourceforge/filebot/AllTests.java similarity index 84% rename from test/AllTests.java rename to test/net/sourceforge/filebot/AllTests.java index 8d74e2a5..152ed797 100644 --- a/test/AllTests.java +++ b/test/net/sourceforge/filebot/AllTests.java @@ -1,4 +1,4 @@ -import net.sourceforge.filebot.FileBotTestSuite; +package net.sourceforge.filebot; import net.sourceforge.tuned.TunedTestSuite; import org.junit.runner.RunWith; diff --git a/test/net/sourceforge/tuned/FilterIteratorTest.java b/test/net/sourceforge/tuned/FilterIteratorTest.java index 6eb74d3d..4438e618 100644 --- a/test/net/sourceforge/tuned/FilterIteratorTest.java +++ b/test/net/sourceforge/tuned/FilterIteratorTest.java @@ -36,15 +36,15 @@ public class FilterIteratorTest { @Override protected Integer filter(String sourceValue) { if (sourceValue.matches("\\d+")) - return Integer.parseInt(sourceValue); + return Integer.valueOf(sourceValue); return null; } }; - assertEquals(2, integers.next()); + assertEquals(Integer.valueOf(2), integers.next()); integers.remove(); - assertEquals(5, integers.next()); + assertEquals(Integer.valueOf(5), integers.next()); integers.remove(); assertFalse(integers.hasNext());