Merge pull request #325 from DevFactory/utility-classes-should-not-have-public-constructors-fix-3

Utility classes should not have public constructors
This commit is contained in:
Ilkka Seppälä
2015-12-30 19:55:25 +02:00
7 changed files with 21 additions and 0 deletions

View File

@ -32,6 +32,9 @@ public class HibernateUtil {
}
}
private HibernateUtil() {
}
public static SessionFactory getSessionFactory() {
return SESSION_FACTORY;
}