A recent update to org.apache.turbine.util.parser.BaseValueParser causes
it to not compile.  As of right now it's still broken in CVS  It's just
a simple oops.  This patch should make it behave as was intended:

diff -u -w -r1.12 BaseValueParser.java
--- org/apache/turbine/util/parser/BaseValueParser.java 2001/06/20 09:54:03     1.12
+++ org/apache/turbine/util/parser/BaseValueParser.java 2001/06/20 17:47:11
@@ -1161,7 +1161,7 @@
             {
                 value = ((String[])object)[0];
             }
-            return (value == null ? null : StringUtils.isValid(value));
+            return (StringUtils.isValid(value) ? new NumberKey(value) : null);
         }
         catch ( ClassCastException e )
         {

Steve Stock
[EMAIL PROTECTED]

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

Reply via email to