incubator-bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1026452 - in /incubator/bval/sandbox/lang3-work/bval-jsr303d/src/main/java/org/apache/bval/constraints/dynamic: NullValue.java Values.java
Date Fri, 22 Oct 2010 19:11:51 GMT
Author: mbenson
Date: Fri Oct 22 19:11:51 2010
New Revision: 1026452

URL: http://svn.apache.org/viewvc?rev=1026452&view=rev
Log:
refine the default message

Modified:
    incubator/bval/sandbox/lang3-work/bval-jsr303d/src/main/java/org/apache/bval/constraints/dynamic/NullValue.java
    incubator/bval/sandbox/lang3-work/bval-jsr303d/src/main/java/org/apache/bval/constraints/dynamic/Values.java

Modified: incubator/bval/sandbox/lang3-work/bval-jsr303d/src/main/java/org/apache/bval/constraints/dynamic/NullValue.java
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/lang3-work/bval-jsr303d/src/main/java/org/apache/bval/constraints/dynamic/NullValue.java?rev=1026452&r1=1026451&r2=1026452&view=diff
==============================================================================
--- incubator/bval/sandbox/lang3-work/bval-jsr303d/src/main/java/org/apache/bval/constraints/dynamic/NullValue.java
(original)
+++ incubator/bval/sandbox/lang3-work/bval-jsr303d/src/main/java/org/apache/bval/constraints/dynamic/NullValue.java
Fri Oct 22 19:11:51 2010
@@ -68,7 +68,7 @@ public @interface NullValue {
      */
     Rule value() default Rule.REQUIRE;
 
-    String message() default "{org.apache.bval.constraints.dynamic.NullValue}";
+    String message() default "{org.apache.bval.constraints.dynamic.NullValue.{value}}";
 
     Class<?>[] groups() default {};
 

Modified: incubator/bval/sandbox/lang3-work/bval-jsr303d/src/main/java/org/apache/bval/constraints/dynamic/Values.java
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/lang3-work/bval-jsr303d/src/main/java/org/apache/bval/constraints/dynamic/Values.java?rev=1026452&r1=1026451&r2=1026452&view=diff
==============================================================================
--- incubator/bval/sandbox/lang3-work/bval-jsr303d/src/main/java/org/apache/bval/constraints/dynamic/Values.java
(original)
+++ incubator/bval/sandbox/lang3-work/bval-jsr303d/src/main/java/org/apache/bval/constraints/dynamic/Values.java
Fri Oct 22 19:11:51 2010
@@ -75,7 +75,7 @@ public @interface Values {
      */
     Strategy strategy() default Strategy.REPLACE;
 
-    String message() default "{org.apache.bval.constraints.dynamic.Values}";
+    String message() default "{org.apache.bval.constraints.dynamic.Values.{rule}}";
 
     Class<?>[] groups() default {};
 
@@ -153,7 +153,7 @@ public @interface Values {
          */
         Strategy strategy() default Strategy.REPLACE;
 
-        String message() default "{org.apache.bval.constraints.dynamic.Values.Labeled}";
+        String message() default "{org.apache.bval.constraints.dynamic.Values.Labeled.{rule}}";
 
         Class<?>[] groups() default {};
 



Mime
View raw message