projects
/
mkjsf-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes NPE in renaming auth response (triggered by SP change)
[mkjsf-moved-to-github.git]
/
src
/
main
/
java
/
com
/
indexdata
/
mkjsf
/
pazpar2
/
commands
/
StatCommand.java
diff --git
a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/StatCommand.java
b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/StatCommand.java
index
5229060
..
355c6f2
100644
(file)
--- a/
src/main/java/com/indexdata/mkjsf/pazpar2/commands/StatCommand.java
+++ b/
src/main/java/com/indexdata/mkjsf/pazpar2/commands/StatCommand.java
@@
-1,9
+1,10
@@
package com.indexdata.mkjsf.pazpar2.commands;
\r
\r
import com.indexdata.mkjsf.pazpar2.commands.sp.ServiceProxyCommand;
\r
package com.indexdata.mkjsf.pazpar2.commands;
\r
\r
import com.indexdata.mkjsf.pazpar2.commands.sp.ServiceProxyCommand;
\r
+import com.indexdata.mkjsf.pazpar2.commands.sp.StatCommandSp;
\r
\r
/**
\r
\r
/**
\r
- * Represents a Pazpar2 <code>stat</code> command, can be accessed by <code>pzreq.state</code>
\r
+ * <b><code>stat</code></b> Pazpar2 command, referenced as: <code>pzreq.stat</code>
\r
*
\r
* @author Niels Erik
\r
*
\r
*
\r
* @author Niels Erik
\r
*
\r
@@
-26,7
+27,7
@@
public class StatCommand extends Pazpar2Command implements ServiceProxyCommand {
\r
@Override
\r
public ServiceProxyCommand getSp() {
\r
\r
@Override
\r
public ServiceProxyCommand getSp() {
\r
- return this;
\r
+ return new StatCommandSp(this);
\r
}
\r
\r
@Override
\r
}
\r
\r
@Override
\r