airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject airavata git commit: update timestamp to miliseconds
Date Mon, 11 Jan 2016 18:47:10 GMT
Repository: airavata
Updated Branches:
  refs/heads/master cae7925b5 -> 494857a37


update timestamp to miliseconds


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

Branch: refs/heads/master
Commit: 494857a374d12fc2ad9b73e91d85e6519be43cb3
Parents: cae7925
Author: Chathuri Wimalasena <chathuri@apache.org>
Authored: Mon Jan 11 13:48:00 2016 -0500
Committer: Chathuri Wimalasena <chathuri@apache.org>
Committed: Mon Jan 11 13:48:00 2016 -0500

----------------------------------------------------------------------
 .../java/org/apache/airavata/common/utils/AiravataUtils.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/494857a3/modules/commons/src/main/java/org/apache/airavata/common/utils/AiravataUtils.java
----------------------------------------------------------------------
diff --git a/modules/commons/src/main/java/org/apache/airavata/common/utils/AiravataUtils.java
b/modules/commons/src/main/java/org/apache/airavata/common/utils/AiravataUtils.java
index 52d114f..6a44f02 100644
--- a/modules/commons/src/main/java/org/apache/airavata/common/utils/AiravataUtils.java
+++ b/modules/commons/src/main/java/org/apache/airavata/common/utils/AiravataUtils.java
@@ -29,8 +29,8 @@ public class AiravataUtils {
 
     public static Timestamp getCurrentTimestamp() {
         Calendar calender = Calendar.getInstance();
-        java.util.Date d = calender.getTime();
-        return new Timestamp(d.getTime());
+//        java.util.Date d = calender.getTimeInMillis();
+        return new Timestamp(calender.getTimeInMillis());
     }
 
     public static Timestamp getTime(long time) {


Mime
View raw message