bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r992145 - /incubator/bval/sandbox/lang3-work/bval-core/src/main/java/org/apache/bval/BeanValidationContext.java
Date Thu, 02 Sep 2010 22:52:52 GMT
Author: mbenson
Date: Thu Sep  2 22:52:51 2010
New Revision: 992145

URL: http://svn.apache.org/viewvc?rev=992145&view=rev
Log:
merge r992143

Modified:
    incubator/bval/sandbox/lang3-work/bval-core/src/main/java/org/apache/bval/BeanValidationContext.java

Modified: incubator/bval/sandbox/lang3-work/bval-core/src/main/java/org/apache/bval/BeanValidationContext.java
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/lang3-work/bval-core/src/main/java/org/apache/bval/BeanValidationContext.java?rev=992145&r1=992144&r2=992145&view=diff
==============================================================================
--- incubator/bval/sandbox/lang3-work/bval-core/src/main/java/org/apache/bval/BeanValidationContext.java
(original)
+++ incubator/bval/sandbox/lang3-work/bval-core/src/main/java/org/apache/bval/BeanValidationContext.java
Thu Sep  2 22:52:51 2010
@@ -39,7 +39,11 @@ import java.util.Map;
 public class BeanValidationContext<T extends ValidationListener>
       implements ValidationContext<T> {
     /** represent an unknown propertyValue. */
-    private static final Object UNKNOWN = new Object();
+    private static final Object UNKNOWN = new Object() {
+        public String toString() {
+            return "unknown property value";
+        };
+    };
 
     /** metainfo of current object. */
     private MetaBean metaBean;



Mime
View raw message