airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [1/2] airavata git commit: changin the data type to long
Date Thu, 16 Mar 2017 18:49:51 GMT
Repository: airavata
Updated Branches:
  refs/heads/develop fc720d464 -> ae139ff29


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/develop
Commit: 7beb6a4da010617baaee9cad251eac0ba6e10247
Parents: 505e30c
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Thu Mar 16 14:47:13 2017 -0400
Committer: scnakandala <supun.nakandala@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]));
 


Mime
View raw message