From: Niels Erik G. Nielsen Date: Wed, 4 Sep 2013 17:00:33 +0000 (-0400) Subject: Fixes NPE in renaming auth response (triggered by SP change) X-Git-Tag: v0.0.7~17 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=6c92dd9a72ae1fa27dd061c1897531879b8c0ba6;p=mkjsf-moved-to-github.git Fixes NPE in renaming auth response (triggered by SP change) --- diff --git a/overview.html b/overview.html index 1d9b437..ccbdbf1 100644 --- a/overview.html +++ b/overview.html @@ -5,5 +5,6 @@

MKJSF is an open source library that you can include in your JavaServer Pages project to create a search interface on top of Index Data's meta-search engine Pazpar2.

+ \ No newline at end of file diff --git a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/AuthCommand.java b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/AuthCommand.java index 8869d83..31b2d89 100644 --- a/src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/AuthCommand.java +++ b/src/main/java/com/indexdata/mkjsf/pazpar2/commands/sp/AuthCommand.java @@ -53,8 +53,8 @@ public class AuthCommand extends Pazpar2Command implements ServiceProxyCommand { * @return */ private String renameResponseElement(String responseString, String newName) { - responseString = responseString.replace("", "<" + newName + ">"); - responseString = responseString.replace("", ""); + responseString = responseString.replace("