Skip to content

Commit ee4eb54

Browse files
committed
private constructor
1 parent 647f907 commit ee4eb54

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Ch07_XSS/src/main/java/de/dominikschadow/webappsecurity/daos/HibernateUtil.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@
2727
* @author Dominik Schadow
2828
*/
2929
public class HibernateUtil {
30+
/**
31+
* Util class, no constructor required.
32+
*/
33+
private HibernateUtil() {
34+
}
35+
3036
public static SessionFactory getSessionFactory() throws HibernateException {
3137
Configuration configuration = new Configuration();
3238
configuration.configure();

0 commit comments

Comments
 (0)