bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1643471 - /bval/branches/bval-11/bval-core/src/main/java/org/apache/bval/ValidationResults.java
Date Fri, 05 Dec 2014 23:32:09 GMT
Author: mbenson
Date: Fri Dec  5 23:32:09 2014
New Revision: 1643471

URL: http://svn.apache.org/r1643471
Log:
block

Modified:
    bval/branches/bval-11/bval-core/src/main/java/org/apache/bval/ValidationResults.java

Modified: bval/branches/bval-11/bval-core/src/main/java/org/apache/bval/ValidationResults.java
URL: http://svn.apache.org/viewvc/bval/branches/bval-11/bval-core/src/main/java/org/apache/bval/ValidationResults.java?rev=1643471&r1=1643470&r2=1643471&view=diff
==============================================================================
--- bval/branches/bval-11/bval-core/src/main/java/org/apache/bval/ValidationResults.java (original)
+++ bval/branches/bval-11/bval-core/src/main/java/org/apache/bval/ValidationResults.java Fri
Dec  5 23:32:09 2014
@@ -193,8 +193,9 @@ public class ValidationResults implement
      * @see {@link Error#getReason()}
      */
     public boolean hasErrorForReason(String reason) {
-        if (errorsByReason == null)
+        if (errorsByReason == null) {
             return false;
+        }
         List<Error> errors = errorsByReason.get(reason);
         return errors != null && !errors.isEmpty();
     }



Mime
View raw message