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
73867fd
..
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,7
+1,14
@@
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
-
\r
+import com.indexdata.mkjsf.pazpar2.commands.sp.StatCommandSp;
\r
+
\r
+/**
\r
+ * <b><code>stat</code></b> Pazpar2 command, referenced as: <code>pzreq.stat</code>
\r
+ *
\r
+ * @author Niels Erik
\r
+ *
\r
+ */
\r
public class StatCommand extends Pazpar2Command implements ServiceProxyCommand {
\r
\r
private static final long serialVersionUID = 3980630346114157336L;
\r
public class StatCommand extends Pazpar2Command implements ServiceProxyCommand {
\r
\r
private static final long serialVersionUID = 3980630346114157336L;
\r
@@
-20,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