perfsonar-dev - perfsonar: r4729 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ippm
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r4729 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ippm
- Date: Tue, 2 Dec 2008 08:22:47 -0500
Author: nemanja.zutic
Date: 2008-12-02 08:22:46 -0500 (Tue, 02 Dec 2008)
New Revision: 4729
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ippm/HoplistRequest.java
Log:
Fixed bug in hoplist request
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ippm/HoplistRequest.java
===================================================================
---
branches/perfsonarui/src/org/perfsonar/perfsonarui/ippm/HoplistRequest.java
2008-11-29 04:00:11 UTC (rev 4728)
+++
branches/perfsonarui/src/org/perfsonar/perfsonarui/ippm/HoplistRequest.java
2008-12-02 13:22:46 UTC (rev 4729)
@@ -248,7 +248,9 @@
}
private void setQueryTime(String time, Document request, String
target) {
-
+ long checkTime = new Long(Long.parseLong(time)*1000);
+ long currentTime = System.currentTimeMillis();
+ if(checkTime > currentTime) time = new
Long(currentTime/1000).toString();
NodeList nodes;
if ((request == null)) return;
nodes = request.getElementsByTagNameNS(NS_SELECT, E_PARAMETERS);
- perfsonar: r4729 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ippm, svnlog, 12/02/2008
Archive powered by MHonArc 2.6.16.