tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mindbri...@apache.org
Subject cvs commit: jakarta-tapestry/framework/src/org/apache/tapestry Tapestry.java
Date Wed, 07 Jan 2004 01:17:06 GMT
mindbridge    2004/01/06 17:17:06

  Modified:    framework/src/org/apache/tapestry Tapestry.java
  Log:
  Making Tapestry parse the string "false" as the boolean value FALSE
  
  Revision  Changes    Path
  1.20      +6 -1      jakarta-tapestry/framework/src/org/apache/tapestry/Tapestry.java
  
  Index: Tapestry.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/framework/src/org/apache/tapestry/Tapestry.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- Tapestry.java	25 Nov 2003 14:08:15 -0000	1.19
  +++ Tapestry.java	7 Jan 2004 01:17:05 -0000	1.20
  @@ -507,6 +507,11 @@
               if (s.length() == 0)
                   return false;
   
  +            // Here probably Boolean.getBoolean(s) should be used,
  +            // but we need the opposite check
  +            if (s.trim().equalsIgnoreCase("false"))
  +                return false;
  +
               char[] data = s.toCharArray();
   
               try
  
  
  

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


Mime
View raw message