Removes timing from thread object
authorNiels Erik G. Nielsen <nielserik@indexdata.com>
Tue, 14 May 2013 16:36:41 +0000 (12:36 -0400)
committerNiels Erik G. Nielsen <nielserik@indexdata.com>
Tue, 14 May 2013 16:36:41 +0000 (12:36 -0400)
Not all commands routed through this class anymore.

src/main/java/com/indexdata/mkjsf/pazpar2/CommandThread.java

index 10a0adc..78c5652 100644 (file)
@@ -20,10 +20,8 @@ public class CommandThread extends Thread {
    * Executes the specified command using the specified Pazpar2 client\r
    */\r
   public void run() {    \r
-    long start = System.currentTimeMillis();\r
+    logger.debug(command.getCommandName() + " executing asynchronously");\r
     commandResponse = client.executeCommand(command);\r
-    long end = System.currentTimeMillis();\r
-    logger.debug("Executed " + command.getCommandName() + " in " + (end-start) + " ms." );\r
   }\r
   \r
   /**\r