From: Niels Erik G. Nielsen Date: Tue, 14 May 2013 16:36:41 +0000 (-0400) Subject: Removes timing from thread object X-Git-Tag: v0.0.7~102 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=4a630f0f9c303711ee63c4a52f4fcb1b382bba8d;p=mkjsf-moved-to-github.git Removes timing from thread object Not all commands routed through this class anymore. --- diff --git a/src/main/java/com/indexdata/mkjsf/pazpar2/CommandThread.java b/src/main/java/com/indexdata/mkjsf/pazpar2/CommandThread.java index 10a0adc..78c5652 100644 --- a/src/main/java/com/indexdata/mkjsf/pazpar2/CommandThread.java +++ b/src/main/java/com/indexdata/mkjsf/pazpar2/CommandThread.java @@ -20,10 +20,8 @@ public class CommandThread extends Thread { * Executes the specified command using the specified Pazpar2 client */ public void run() { - long start = System.currentTimeMillis(); + logger.debug(command.getCommandName() + " executing asynchronously"); commandResponse = client.executeCommand(command); - long end = System.currentTimeMillis(); - logger.debug("Executed " + command.getCommandName() + " in " + (end-start) + " ms." ); } /**