[hibernate-commits] Hibernate SVN: r19082 - validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/engine/resourceloading.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Mon Mar 22 16:30:34 EDT 2010


Author: hardy.ferentschik
Date: 2010-03-22 16:30:33 -0400 (Mon, 22 Mar 2010)
New Revision: 19082

Modified:
   validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/engine/resourceloading/ResourceBundleLocator.java
Log:
 HV-238 Removed todo item. Added a note that ResourceBundleLocator has to be thread safe

Modified: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/engine/resourceloading/ResourceBundleLocator.java
===================================================================
--- validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/engine/resourceloading/ResourceBundleLocator.java	2010-03-22 20:19:52 UTC (rev 19081)
+++ validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/engine/resourceloading/ResourceBundleLocator.java	2010-03-22 20:30:33 UTC (rev 19082)
@@ -33,8 +33,9 @@
  * of this interface, alternative ways of bundle loading can be realized, e.g.
  * by loading bundles based on XML files or from a database.
  * </p>
- * <p/>
- * TODO GM: Note, that all implementations must be thread-safe?
+ * <p>
+ * A {@code ResourceBundleLocator} implementation must be thread-safe.
+ * </p>
  *
  * @author Gunnar Morling
  */
@@ -50,5 +51,4 @@
 	 *         bundle exists.
 	 */
 	ResourceBundle getResourceBundle(Locale locale);
-
 }



More information about the hibernate-commits mailing list