mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 16:58:56 +00:00
squid:S2974 - Classes without public constructors should be final
This commit is contained in:
@@ -32,7 +32,7 @@ import org.hibernate.cfg.Configuration;
|
||||
/**
|
||||
* Produces the Hibernate {@link SessionFactory}.
|
||||
*/
|
||||
public class HibernateUtil {
|
||||
public final class HibernateUtil {
|
||||
|
||||
/**
|
||||
* The cached session factory
|
||||
|
||||
Reference in New Issue
Block a user