Author: hardy.ferentschik
Date: 2010-09-22 09:28:54 -0400 (Wed, 22 Sep 2010)
New Revision: 20681
Modified:
search/trunk/hibernate-search/src/main/java/org/hibernate/search/engine/LoaderHelper.java
Log:
HSEARCH-574 Added private constructor to helper class
Modified:
search/trunk/hibernate-search/src/main/java/org/hibernate/search/engine/LoaderHelper.java
===================================================================
---
search/trunk/hibernate-search/src/main/java/org/hibernate/search/engine/LoaderHelper.java 2010-09-22
13:28:23 UTC (rev 20680)
+++
search/trunk/hibernate-search/src/main/java/org/hibernate/search/engine/LoaderHelper.java 2010-09-22
13:28:54 UTC (rev 20681)
@@ -32,7 +32,7 @@
/**
* @author Emmanuel Bernard
*/
-public abstract class LoaderHelper {
+public class LoaderHelper {
private static final List<Class> objectNotFoundExceptions;
static {
@@ -55,6 +55,9 @@
}
}
+ private LoaderHelper() {
+ }
+
public static boolean isObjectNotFoundException(RuntimeException e) {
boolean objectNotFound = false;
Class exceptionClass = e.getClass();