Fixing squid:S1118 - Utility classes should not have public constructors

This commit is contained in:
Kirill Vlasov
2015-12-23 10:03:11 +05:00
parent 3d8c64d76d
commit c8a750df49
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;
}