You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2017/04/03 16:49:45 UTC

[12/50] airavata git commit: changin the data type to long

changin the data type to long


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

Branch: refs/heads/master
Commit: 7beb6a4da010617baaee9cad251eac0ba6e10247
Parents: 505e30c
Author: scnakandala <su...@gmail.com>
Authored: Thu Mar 16 14:47:13 2017 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Thu Mar 16 14:47:13 2017 -0400

----------------------------------------------------------------------
 .../sharing/registry/db/repositories/EntityRepository.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/7beb6a4d/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/db/repositories/EntityRepository.java
----------------------------------------------------------------------
diff --git a/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/db/repositories/EntityRepository.java b/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/db/repositories/EntityRepository.java
index 577d17e..26c15f0 100644
--- a/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/db/repositories/EntityRepository.java
+++ b/modules/sharing-registry/sharing-registry-server/src/main/java/org/apache/airavata/sharing/registry/db/repositories/EntityRepository.java
@@ -146,7 +146,7 @@ public class EntityRepository extends AbstractRepository<Entity, EntityEntity, E
             entity.setBinaryData((byte[]) (rs[7]));
             entity.setFullText((String) (rs[8]));
             entity.setOriginalEntityCreationTime((long)(rs[9]));
-            entity.setSharedCount((int) rs[10]);
+            entity.setSharedCount((long) rs[10]);
             entity.setCreatedTime((long) (rs[11]));
             entity.setUpdatedTime((long) (rs[12]));