jvanzyl     2004/01/06 10:19:48

  Modified:    src/java/org/apache/maven/jelly/tags/maven PropertyTag.java
  Log:
  o just check for null, someone might want an empty string.
  
  Revision  Changes    Path
  1.3       +1 -1      
maven/src/java/org/apache/maven/jelly/tags/maven/PropertyTag.java
  
  Index: PropertyTag.java
  ===================================================================
  RCS file: 
/home/cvs/maven/src/java/org/apache/maven/jelly/tags/maven/PropertyTag.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PropertyTag.java  6 Jan 2004 18:18:33 -0000       1.2
  +++ PropertyTag.java  6 Jan 2004 18:19:48 -0000       1.3
  @@ -109,7 +109,7 @@
   
           String property = (String) getMavenContext().getVariable( name );
   
  -        if ( property == null || property.trim().length() == 0 )
  +        if ( property == null )
           {
               property = defaultValue;
           }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to