commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roxspr...@apache.org
Subject cvs commit: jakarta-commons/cli/src/java/org/apache/commons/cli2/commandline WriteableCommandLineImpl.java
Date Wed, 25 Feb 2004 00:49:21 GMT
roxspring    2004/02/24 16:49:21

  Modified:    cli/src/test/org/apache/commons/cli2 Tag:
                        RESEARCH_CLI_2_ROXSPRING CommandLineTest.java
               cli/src/test/org/apache/commons/cli2/impl Tag:
                        RESEARCH_CLI_2_ROXSPRING ArgumentTest.java
               cli/src/java/org/apache/commons/cli2/impl Tag:
                        RESEARCH_CLI_2_ROXSPRING ArgumentImpl.java
               cli/src/java/org/apache/commons/cli2/commandline Tag:
                        RESEARCH_CLI_2_ROXSPRING
                        WriteableCommandLineImpl.java
  Log:
  Removed debugging System.out.println() statements
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.9   +0 -1      jakarta-commons/cli/src/test/org/apache/commons/cli2/Attic/CommandLineTest.java
  
  Index: CommandLineTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/cli/src/test/org/apache/commons/cli2/Attic/CommandLineTest.java,v
  retrieving revision 1.1.2.8
  retrieving revision 1.1.2.9
  diff -u -r1.1.2.8 -r1.1.2.9
  --- CommandLineTest.java	24 Feb 2004 23:59:44 -0000	1.1.2.8
  +++ CommandLineTest.java	25 Feb 2004 00:49:21 -0000	1.1.2.9
  @@ -52,7 +52,6 @@
   	 * Class to test for boolean hasOption(String)
   	 */
   	public final void testHasOptionString() {
  -		System.out.println(commandLine);
   		assertTrue(commandLine.hasOption("--present"));
   		assertTrue(commandLine.hasOption("--alsopresent"));
   		assertFalse(commandLine.hasOption("--missing"));
  
  
  
  No                   revision
  No                   revision
  1.1.2.9   +0 -5      jakarta-commons/cli/src/test/org/apache/commons/cli2/impl/Attic/ArgumentTest.java
  
  Index: ArgumentTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/cli/src/test/org/apache/commons/cli2/impl/Attic/ArgumentTest.java,v
  retrieving revision 1.1.2.8
  retrieving revision 1.1.2.9
  diff -u -r1.1.2.8 -r1.1.2.9
  --- ArgumentTest.java	25 Feb 2004 00:36:30 -0000	1.1.2.8
  +++ ArgumentTest.java	25 Feb 2004 00:49:21 -0000	1.1.2.9
  @@ -108,11 +108,6 @@
               0);
       }
       
  -    public void setUp(){
  -    	System.out.println("==========================");
  -    	System.out.println(getName());
  -    }
  -
       public void testNew() {
           try {
               new ArgumentImpl(
  
  
  
  No                   revision
  No                   revision
  1.1.2.9   +0 -3      jakarta-commons/cli/src/java/org/apache/commons/cli2/impl/Attic/ArgumentImpl.java
  
  Index: ArgumentImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/cli/src/java/org/apache/commons/cli2/impl/Attic/ArgumentImpl.java,v
  retrieving revision 1.1.2.8
  retrieving revision 1.1.2.9
  diff -u -r1.1.2.8 -r1.1.2.9
  --- ArgumentImpl.java	25 Feb 2004 00:36:30 -0000	1.1.2.8
  +++ ArgumentImpl.java	25 Feb 2004 00:49:21 -0000	1.1.2.9
  @@ -170,7 +170,6 @@
               if (allValues.equals(consumeRemaining)) {
                   while (arguments.hasNext() && argumentCount < maximum) {
                       ++argumentCount;
  -                    System.out.println("location 1");
                       commandLine.addValue(option, arguments.next());
                   }
               }
  @@ -191,7 +190,6 @@
                   while (values.hasMoreTokens() && argumentCount < maximum) {
                       ++argumentCount;
                       final String token = values.nextToken();
  -                    System.out.println("location 2");
                       commandLine.addValue(option, token);
                       arguments.add(token);
                   }
  @@ -206,7 +204,6 @@
               // it must be a value as it is
               else {
                   ++argumentCount;
  -                System.out.println("location 3");
                   commandLine.addValue(option, allValues);
               }
           }
  
  
  
  No                   revision
  No                   revision
  1.1.2.5   +0 -1      jakarta-commons/cli/src/java/org/apache/commons/cli2/commandline/Attic/WriteableCommandLineImpl.java
  
  Index: WriteableCommandLineImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/cli/src/java/org/apache/commons/cli2/commandline/Attic/WriteableCommandLineImpl.java,v
  retrieving revision 1.1.2.4
  retrieving revision 1.1.2.5
  diff -u -r1.1.2.4 -r1.1.2.5
  --- WriteableCommandLineImpl.java	25 Feb 2004 00:36:30 -0000	1.1.2.4
  +++ WriteableCommandLineImpl.java	25 Feb 2004 00:49:21 -0000	1.1.2.5
  @@ -57,7 +57,6 @@
       }
   
       public void addValue(final Option option, final Object value) {
  -    	System.out.println("addValue("+option+","+value+")");
           if (option instanceof Argument) {
               addOption(option);
           }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message