Refactors commands and injection
[mkjsf-moved-to-github.git] / src / main / java / com / indexdata / mkjsf / pazpar2 / commands / BytargetCommand.java
index b149808..89a5bbd 100644 (file)
@@ -1,18 +1,17 @@
 package com.indexdata.mkjsf.pazpar2.commands;\r
 \r
 import com.indexdata.mkjsf.pazpar2.commands.sp.ServiceProxyCommand;\r
-import com.indexdata.mkjsf.pazpar2.state.StateManager;\r
 \r
 public class BytargetCommand extends Pazpar2Command implements ServiceProxyCommand {\r
 \r
   private static final long serialVersionUID = 9070458716105294392L;\r
 \r
-  public BytargetCommand(StateManager stateMgr) {\r
-    super("bytarget",stateMgr);\r
+  public BytargetCommand() {\r
+    super("bytarget");\r
   }\r
 \r
   public BytargetCommand copy () {\r
-    BytargetCommand newCommand = new BytargetCommand(stateMgr);\r
+    BytargetCommand newCommand = new BytargetCommand();\r
     for (String parameterName : parameters.keySet()) {\r
       newCommand.setParameterInState(parameters.get(parameterName).copy());      \r
     }    \r