Removed all references to legacy Java 1.1 code like `java.util.Vector' thus breaking source code compatibility in `jargs.gnu.CmdLineParser.getOptionValues'. Moreover replaced JUnit 3.x Testcases with JUnit 4.x annotated tests. This effectivly makes JArgs a Java 1.5 compatible. No more unchecked warnings are emmited during compilation.
This patch contains the minimal intrusive addition of generics to JArgs. This enables developers to use the new JArgs version as a drop in replacement without any modifications to exsting sources while benefitting from generics in new code; without the now unneeded typecasts, the user's code becomes more readable, emmits no unchecked warnings and averts typecast runtime errors.
Fixes #3 Signed-off-by: Steve Purcell <firstname.lastname@example.org>
…and unit tests. Previously we were attempting to build just a jar with the library, but we were getting a jar with everything anyway, because the delete statements were wrong. Added build target, which does everything, and made it the default. Updated copyright statement for javadocs.
… to 1.2 / 1.1 respectively, for maximum compatibility. Make the default target test, not run, since run does not exist.