cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/formmodel Field.java
Date Tue, 01 Jun 2004 16:40:48 GMT
bruno       2004/06/01 09:40:48

  Modified:    src/blocks/forms/java/org/apache/cocoon/forms/formmodel
                        Field.java
  Log:
  balance parentheses
  
  Revision  Changes    Path
  1.17      +2 -2      cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/formmodel/Field.java
  
  Index: Field.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/formmodel/Field.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- Field.java	7 May 2004 13:42:09 -0000	1.16
  +++ Field.java	1 Jun 2004 16:40:48 -0000	1.17
  @@ -131,7 +131,7 @@
           if (newValue != null && !getDatatype().getTypeClass().isAssignableFrom(newValue.getClass()))
{
               throw new RuntimeException("Incorrect value type for \"" + getRequestParameterName()
+
                              "\" (expected " + getDatatype().getTypeClass() +
  -                           ", got " + newValue.getClass() + ".");
  +                           ", got " + newValue.getClass() + ").");
           }
           Object oldValue = this.value;
           boolean changed = ! (oldValue == null ? "" : oldValue).equals(newValue == null
? "" : newValue);
  
  
  

Mime
View raw message