mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 00:58:24 +00:00
Fixing squid:S1118 - Utility classes should not have public constructors
This commit is contained in:
@@ -32,6 +32,9 @@ public class HibernateUtil {
|
||||
}
|
||||
}
|
||||
|
||||
private HibernateUtil() {
|
||||
}
|
||||
|
||||
public static SessionFactory getSessionFactory() {
|
||||
return SESSION_FACTORY;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user