From: Niels Erik G. Nielsen Date: Wed, 22 May 2013 16:07:59 +0000 (-0400) Subject: Renames variable X-Git-Tag: v0.0.7~85 X-Git-Url: http://git.indexdata.com/?p=mkjsf-moved-to-github.git;a=commitdiff_plain;h=ad133c599432df99a935c0f742c078cccbe76ac2 Renames variable --- diff --git a/src/main/java/com/indexdata/mkjsf/pazpar2/state/Pazpar2State.java b/src/main/java/com/indexdata/mkjsf/pazpar2/state/Pazpar2State.java index ac42496..0ac555e 100644 --- a/src/main/java/com/indexdata/mkjsf/pazpar2/state/Pazpar2State.java +++ b/src/main/java/com/indexdata/mkjsf/pazpar2/state/Pazpar2State.java @@ -30,19 +30,19 @@ public class Pazpar2State { String key = null; Map commands = new HashMap();; - public Pazpar2State (StateManager mgr) { - commands.put(Pazpar2Commands.INIT, new InitCommand(mgr)); - commands.put(Pazpar2Commands.PING, new PingCommand(mgr)); - commands.put(Pazpar2Commands.SETTINGS, new SettingsCommand(mgr)); - commands.put(Pazpar2Commands.SEARCH, new SearchCommand(mgr)); - commands.put(Pazpar2Commands.STAT, new StatCommand(mgr)); - commands.put(Pazpar2Commands.SHOW, new ShowCommand(mgr)); - commands.put(Pazpar2Commands.RECORD, new RecordCommand(mgr)); - commands.put(Pazpar2Commands.TERMLIST, new TermlistCommand(mgr)); - commands.put(Pazpar2Commands.BYTARGET, new BytargetCommand(mgr)); + public Pazpar2State (StateManager stateManager) { + commands.put(Pazpar2Commands.INIT, new InitCommand(stateManager)); + commands.put(Pazpar2Commands.PING, new PingCommand(stateManager)); + commands.put(Pazpar2Commands.SETTINGS, new SettingsCommand(stateManager)); + commands.put(Pazpar2Commands.SEARCH, new SearchCommand(stateManager)); + commands.put(Pazpar2Commands.STAT, new StatCommand(stateManager)); + commands.put(Pazpar2Commands.SHOW, new ShowCommand(stateManager)); + commands.put(Pazpar2Commands.RECORD, new RecordCommand(stateManager)); + commands.put(Pazpar2Commands.TERMLIST, new TermlistCommand(stateManager)); + commands.put(Pazpar2Commands.BYTARGET, new BytargetCommand(stateManager)); - commands.put(ServiceProxyCommands.AUTH, new AuthCommand(mgr)); - commands.put(ServiceProxyCommands.CATEGORIES, new CategoriesCommand(mgr)); + commands.put(ServiceProxyCommands.AUTH, new AuthCommand(stateManager)); + commands.put(ServiceProxyCommands.CATEGORIES, new CategoriesCommand(stateManager)); // key = "#1"; }