bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r992510 - /incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ApacheFactoryContext.java
Date Fri, 03 Sep 2010 23:44:28 GMT
Author: mbenson
Date: Fri Sep  3 23:44:28 2010
New Revision: 992510

URL: http://svn.apache.org/viewvc?rev=992510&view=rev
Log:
correct an erroneously used Boolean.getBoolean() to Boolean.parseBoolean() like the other
consultations of configuration properties

Modified:
    incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ApacheFactoryContext.java

Modified: incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ApacheFactoryContext.java
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ApacheFactoryContext.java?rev=992510&r1=992509&r2=992510&view=diff
==============================================================================
--- incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ApacheFactoryContext.java
(original)
+++ incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ApacheFactoryContext.java
Fri Sep  3 23:44:28 2010
@@ -118,7 +118,7 @@ public class ApacheFactoryContext implem
      */
     public Validator getValidator() {
         ClassValidator validator = new ClassValidator(this);
-        if (Boolean.getBoolean(factory.getProperties().get(
+        if (Boolean.parseBoolean(factory.getProperties().get(
             ApacheValidatorConfiguration.Properties.TREAT_MAPS_LIKE_BEANS))) {
             validator.setTreatMapsLikeBeans(true);
         }



Mime
View raw message