Fixed as per Java Code Conventions 05/27705/2
authorroot1 <srinivasa.mohan@huawei.com>
Tue, 9 Jan 2018 10:52:49 +0000 (16:22 +0530)
committerSRINIVAS V <srinivasa.mohan@huawei.com>
Thu, 11 Jan 2018 15:26:20 +0000 (15:26 +0000)
*Moved the constructors after the variables

Change-Id: I531a911570867e05d2eabca98d349f4f2f26d0f9
Issue-ID: POLICY-336
Signed-off-by: SRINIVAS V <srinivasa.mohan@huawei.com>
POLICY-SDK-APP/src/main/java/org/onap/policy/conf/HibernateSession.java

index 32f40b9..0e1be93 100644 (file)
@@ -56,6 +56,13 @@ public class HibernateSession{
                        LOGGER.error("Exception Occured while creating Log database Hibernate session"+ex);
                }
        }
+
+       private HibernateSession(){
+          /**
+           empty implementation
+          */
+       }
+
        public static Session getSession(){
                return logSessionFactory.openSession();
        }
@@ -64,6 +71,5 @@ public class HibernateSession{
                logSessionFactory = logSessionFactory1;
        }
 
-       private HibernateSession(){
-       }
+
 }