Author: bayard Date: Thu Jun 28 23:50:39 2007 New Revision: 551811 URL: http://svn.apache.org/viewvc?view=rev&rev=551811 Log: Removing the two new methods from the CommandLineParser interface as per CLI-134
Modified: jakarta/commons/proper/cli/branches/cli-1.0.x/src/java/org/apache/commons/cli/CommandLineParser.java jakarta/commons/proper/cli/branches/cli-1.0.x/src/test/org/apache/commons/cli/GnuParseTest.java jakarta/commons/proper/cli/branches/cli-1.0.x/src/test/org/apache/commons/cli/ParseTest.java Modified: jakarta/commons/proper/cli/branches/cli-1.0.x/src/java/org/apache/commons/cli/CommandLineParser.java URL: http://svn.apache.org/viewvc/jakarta/commons/proper/cli/branches/cli-1.0.x/src/java/org/apache/commons/cli/CommandLineParser.java?view=diff&rev=551811&r1=551810&r2=551811 ============================================================================== --- jakarta/commons/proper/cli/branches/cli-1.0.x/src/java/org/apache/commons/cli/CommandLineParser.java (original) +++ jakarta/commons/proper/cli/branches/cli-1.0.x/src/java/org/apache/commons/cli/CommandLineParser.java Thu Jun 28 23:50:39 2007 @@ -68,9 +68,13 @@ * @throws ParseException if there are any problems encountered * while parsing the command line tokens. */ + /* To maintain binary compatibility, this is commented out. + It is still in the abstract Parser class, so most users will + still reap the benefit. CommandLine parse(Options options, String[] arguments, boolean stopAtNonOption) throws ParseException; + */ /** * Parse the arguments according to the specified options and @@ -85,7 +89,11 @@ * @throws ParseException if there are any problems encountered * while parsing the command line tokens. */ + /* To maintain binary compatibility, this is commented out. + It is still in the abstract Parser class, so most users will + still reap the benefit. CommandLine parse(Options options, String[] arguments, Properties properties, boolean stopAtNonOption) throws ParseException; -} \ No newline at end of file + */ +} Modified: jakarta/commons/proper/cli/branches/cli-1.0.x/src/test/org/apache/commons/cli/GnuParseTest.java URL: http://svn.apache.org/viewvc/jakarta/commons/proper/cli/branches/cli-1.0.x/src/test/org/apache/commons/cli/GnuParseTest.java?view=diff&rev=551811&r1=551810&r2=551811 ============================================================================== --- jakarta/commons/proper/cli/branches/cli-1.0.x/src/test/org/apache/commons/cli/GnuParseTest.java (original) +++ jakarta/commons/proper/cli/branches/cli-1.0.x/src/test/org/apache/commons/cli/GnuParseTest.java Thu Jun 28 23:50:39 2007 @@ -23,7 +23,7 @@ public class GnuParseTest extends TestCase { private Options _options = null; - private CommandLineParser _parser = null; + private Parser _parser = null; public static Test suite() { return new TestSuite( GnuParseTest.class ); Modified: jakarta/commons/proper/cli/branches/cli-1.0.x/src/test/org/apache/commons/cli/ParseTest.java URL: http://svn.apache.org/viewvc/jakarta/commons/proper/cli/branches/cli-1.0.x/src/test/org/apache/commons/cli/ParseTest.java?view=diff&rev=551811&r1=551810&r2=551811 ============================================================================== --- jakarta/commons/proper/cli/branches/cli-1.0.x/src/test/org/apache/commons/cli/ParseTest.java (original) +++ jakarta/commons/proper/cli/branches/cli-1.0.x/src/test/org/apache/commons/cli/ParseTest.java Thu Jun 28 23:50:39 2007 @@ -24,7 +24,7 @@ { private Options _options = null; - private CommandLineParser _parser = null; + private Parser _parser = null; public static Test suite() { return new TestSuite(ParseTest.class); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]