From ef78e5c3853b6c8d452dfd54120d2c8d9680e1ee Mon Sep 17 00:00:00 2001 From: Gunnar Morling Date: Sat, 7 Apr 2012 23:49:44 +0300 Subject: [PATCH] Fixing typos in exception message --- .../cache/NoCacheRegionFactoryAvailableException.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/cache/NoCacheRegionFactoryAvailableException.java b/hibernate-core/src/main/java/org/hibernate/cache/NoCacheRegionFactoryAvailableException.java index b6d3892a9f..a59e7f5956 100644 --- a/hibernate-core/src/main/java/org/hibernate/cache/NoCacheRegionFactoryAvailableException.java +++ b/hibernate-core/src/main/java/org/hibernate/cache/NoCacheRegionFactoryAvailableException.java @@ -32,9 +32,9 @@ import org.hibernate.cfg.Environment; */ public class NoCacheRegionFactoryAvailableException extends CacheException { private static final String MSG = "Second-level cache is used in the application, but property " - + Environment.CACHE_REGION_FACTORY + "is not gaven, please either disable second level cache" + + + Environment.CACHE_REGION_FACTORY + " is not given, please either disable second level cache" + " or set correct region factory class name to property "+Environment.CACHE_REGION_FACTORY+ - " (and make sure the second level cache provider, hibernate-infinispan, for example, available in the classpath)."; + " (and make sure the second level cache provider, hibernate-infinispan, for example, is available in the classpath)."; public NoCacheRegionFactoryAvailableException() { super( MSG ); }