From 5108782cde1b1c096e9bd7411e51eb64496ca79f Mon Sep 17 00:00:00 2001 From: Jan Vales Date: Mon, 10 Jun 2013 22:17:38 +0200 Subject: [PATCH] [JMS] calculate runtime under 60 sec accurately. --- .../ac/tuwien/sbc/valesriegler/group/jms/JMSGroupConnector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/at/ac/tuwien/sbc/valesriegler/group/jms/JMSGroupConnector.java b/src/main/java/at/ac/tuwien/sbc/valesriegler/group/jms/JMSGroupConnector.java index 5950c2e..29be12b 100644 --- a/src/main/java/at/ac/tuwien/sbc/valesriegler/group/jms/JMSGroupConnector.java +++ b/src/main/java/at/ac/tuwien/sbc/valesriegler/group/jms/JMSGroupConnector.java @@ -128,7 +128,7 @@ public class JMSGroupConnector extends AbstractGroupConnector implements Message GroupAgent.getInstance().getDeliveryModel().addDeliveries(gd); if (GroupAgent.getInstance().getDeliveryModel().hasFinished()) { - log.warn("Finished after {} seconds", new Date().getTime() - GroupAgent.startTime.get() / 1000); + log.warn("Finished after {} seconds", (new Date().getTime() - GroupAgent.startTime.get()) / 1000); } return; } -- 2.43.0