airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata git commit: making method private
Date Thu, 10 Nov 2016 18:49:38 GMT
Repository: airavata
Updated Branches:
  refs/heads/develop 32e0b8b1b -> 53afafa82


making method private


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/53afafa8
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/53afafa8
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/53afafa8

Branch: refs/heads/develop
Commit: 53afafa82c48b7d7485daf392cdabb945b2bec8f
Parents: 32e0b8b
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Thu Nov 10 13:49:34 2016 -0500
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Thu Nov 10 13:49:34 2016 -0500

----------------------------------------------------------------------
 .../org/apache/airavata/sharing/registry/db/utils/JPAUtils.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/53afafa8/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/db/utils/JPAUtils.java
----------------------------------------------------------------------
diff --git a/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/db/utils/JPAUtils.java
b/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/db/utils/JPAUtils.java
index b06efba..6231e87 100644
--- a/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/db/utils/JPAUtils.java
+++ b/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/db/utils/JPAUtils.java
@@ -63,7 +63,7 @@ public class JPAUtils {
     @PersistenceContext(unitName = PERSISTENCE_UNIT_NAME)
     private static EntityManager entityManager;
 
-    public  EntityManager getEntityManager() throws SharingRegistryException {
+    private   EntityManager getEntityManager() throws SharingRegistryException {
         if (factory == null) {
             String connectionProperties = "DriverClassName=" + readServerProperties(SHARING_REG_JDBC_DRIVER)
+ "," +
                     "Url=" + readServerProperties(SHARING_REG_JDBC_URL) + "?autoReconnect=true,"
+


Mime
View raw message