commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/jelly/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml SetTag.java
Date Thu, 09 Sep 2004 15:01:52 GMT
dion        2004/09/09 08:01:52

  Modified:    jelly/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml
                        SetTag.java
  Log:
  Fix typo
  
  Revision  Changes    Path
  1.10      +2 -1      jakarta-commons/jelly/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/SetTag.java
  
  Index: SetTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/SetTag.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- SetTag.java	9 Sep 2004 14:59:44 -0000	1.9
  +++ SetTag.java	9 Sep 2004 15:01:52 -0000	1.10
  @@ -100,10 +100,11 @@
   				}
   			} else { // single == false
   				if(! (value instanceof List) ) {
  +                    List l = null;
   					if (value==null) {
   						l = new ArrayList(0);
   					} else {
  -						List l = new ArrayList(1);
  +						l = new ArrayList(1);
   						l.add(value);
   					}
   					value = l;
  
  
  

---------------------------------------------------------------------
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