maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: maven/src/java/org/apache/maven/jelly JellyPropsHandler.java
Date Mon, 02 Feb 2004 22:36:00 GMT
brett       2004/02/02 14:36:00

  Modified:    src/java/org/apache/maven/jelly Tag: MAVEN-1_0-BRANCH
                        JellyPropsHandler.java
  Log:
  PR: MAVEN-1119
  fix bug when pom is null
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.7.4.1   +1 -1      maven/src/java/org/apache/maven/jelly/JellyPropsHandler.java
  
  Index: JellyPropsHandler.java
  ===================================================================
  RCS file: /home/cvs/maven/src/java/org/apache/maven/jelly/JellyPropsHandler.java,v
  retrieving revision 1.7
  retrieving revision 1.7.4.1
  diff -u -r1.7 -r1.7.4.1
  --- JellyPropsHandler.java	19 Aug 2003 04:28:15 -0000	1.7
  +++ JellyPropsHandler.java	2 Feb 2004 22:36:00 -0000	1.7.4.1
  @@ -133,7 +133,7 @@
           {
               String name = (String) i.next();
               Object value = this.context.getVariable( name );
  -            if ( value != null )
  +            if ( value != null && value.toString() != null )
               {
                   h.put( name, value.toString() );
               }
  
  
  

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


Mime
View raw message