commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jke...@apache.org
Subject cvs commit: jakarta-commons/cli/src/java/org/apache/commons/cli Option.java
Date Sat, 19 Oct 2002 21:15:48 GMT
jkeyes      2002/10/19 14:15:48

  Modified:    cli/src/java/org/apache/commons/cli Option.java
  Log:
  fix for bug 13666, 13780
  
  Revision  Changes    Path
  1.15      +1 -1      jakarta-commons/cli/src/java/org/apache/commons/cli/Option.java
  
  Index: Option.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/cli/src/java/org/apache/commons/cli/Option.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- Option.java	8 Oct 2002 21:24:11 -0000	1.14
  +++ Option.java	19 Oct 2002 21:15:48 -0000	1.15
  @@ -395,7 +395,7 @@
         * set.
         */
        public boolean hasArgName() {
  -         return (this.argName != null || this.argName.length() > 0 );
  +         return (this.argName != null && this.argName.length() > 0 );
        }
   
        /** 
  
  
  

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


Mime
View raw message