You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bval.apache.org by mb...@apache.org on 2010/11/01 19:08:13 UTC

svn commit: r1029779 - /incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/DefaultMessageInterpolator.java

Author: mbenson
Date: Mon Nov  1 18:08:13 2010
New Revision: 1029779

URL: http://svn.apache.org/viewvc?rev=1029779&view=rev
Log:
merge r1029777 from work sandbox

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

Modified: incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/DefaultMessageInterpolator.java
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/DefaultMessageInterpolator.java?rev=1029779&r1=1029778&r2=1029779&view=diff
==============================================================================
--- incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/DefaultMessageInterpolator.java (original)
+++ incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/DefaultMessageInterpolator.java Mon Nov  1 18:08:13 2010
@@ -88,7 +88,7 @@ public class DefaultMessageInterpolator 
     /** {@inheritDoc} */
     public String interpolate(String message, Context context) {
         // probably no need for caching, but it could be done by parameters since the map
-        // is immutable and uniquely built per Validation definition, the comparaison has to be based on == and not equals though
+        // is immutable and uniquely built per Validation definition, the comparison has to be based on == and not equals though
         return interpolate(message, context, defaultLocale);
     }
 
@@ -99,11 +99,11 @@ public class DefaultMessageInterpolator 
     }
 
     /**
-     * Runs the message interpolation according to alogrithm specified in JSR 303.
+     * Runs the message interpolation according to algorithm specified in JSR 303.
      * <br/>
      * Note:
      * <br/>
-     * Lookups in user bundles is recursive whereas lookups in default bundle are not!
+     * Lookups in user bundles are recursive whereas lookups in default bundle are not!
      *
      * @param message              the message to interpolate
      * @param annotationParameters the parameters of the annotation for which to interpolate this message