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
/
ShowCommand.java
diff --git
a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/ShowCommand.java
b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/ShowCommand.java
index
04a87d8
..
d290f74
100644
(file)
--- a/
src/main/java/com/indexdata/mkjsf/pazpar2/commands/ShowCommand.java
+++ b/
src/main/java/com/indexdata/mkjsf/pazpar2/commands/ShowCommand.java
@@
-1,10
+1,11
@@
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.ShowCommandSp;
\r
\r
\r
/**
\r
\r
\r
/**
\r
- * Represents a Pazpar2 <code>show</code> command, can be accessed by <code>pzreq.show</code>
\r
+ * <b><code>show</code></b> Pazpar2 command, referenced as: <code>pzreq.show</code>
\r
*
\r
* @author Niels Erik
\r
*
\r
*
\r
* @author Niels Erik
\r
*
\r
@@
-140,7
+141,7
@@
public class ShowCommand extends Pazpar2Command implements ServiceProxyCommand {
\r
@Override
\r
public ServiceProxyCommand getSp() {
\r
\r
@Override
\r
public ServiceProxyCommand getSp() {
\r
- return this;
\r
+ return new ShowCommandSp(this);
\r
}
\r
\r
@Override
\r
}
\r
\r
@Override
\r