mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-05 08:14:37 +00:00
Fixing squid:S1118 - Utility classes should not have public constructors
This commit is contained in:
1 parent
3d8c64d76d
commit
c8a750df49
7 files changed
+21
No files matched your search
@@ -32,6 +32,9 @@ public class HibernateUtil {
|
||||
}
|
||||
}
|
||||
|
||||
private HibernateUtil() {
|
||||
}
|
||||
|
||||
public static SessionFactory getSessionFactory() {
|
||||
return SESSION_FACTORY;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user