From 225af5a1ec0724a8313e70b27736b23ac6aa1ef7 Mon Sep 17 00:00:00 2001 From: "Niels Erik G. Nielsen" Date: Fri, 5 Apr 2013 17:58:18 -0400 Subject: [PATCH] Additional downgrade details (1.7 to 1.6) --- src/META-INF/MANIFEST.MF | 3 --- .../com/indexdata/pz2utils4jsf/errors/ConfigurationException.java | 5 ----- .../com/indexdata/pz2utils4jsf/pazpar2/sp/ServiceProxyClient.java | 4 +--- 3 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 src/META-INF/MANIFEST.MF diff --git a/src/META-INF/MANIFEST.MF b/src/META-INF/MANIFEST.MF deleted file mode 100644 index 5e94951..0000000 --- a/src/META-INF/MANIFEST.MF +++ /dev/null @@ -1,3 +0,0 @@ -Manifest-Version: 1.0 -Class-Path: - diff --git a/src/main/java/com/indexdata/pz2utils4jsf/errors/ConfigurationException.java b/src/main/java/com/indexdata/pz2utils4jsf/errors/ConfigurationException.java index 960933b..b1336d2 100644 --- a/src/main/java/com/indexdata/pz2utils4jsf/errors/ConfigurationException.java +++ b/src/main/java/com/indexdata/pz2utils4jsf/errors/ConfigurationException.java @@ -23,10 +23,5 @@ public class ConfigurationException extends Exception { // TODO Auto-generated constructor stub } - public ConfigurationException(String message, Throwable cause, - boolean enableSuppression, boolean writableStackTrace) { - super(message, cause, enableSuppression, writableStackTrace); - // TODO Auto-generated constructor stub - } } diff --git a/src/main/java/com/indexdata/pz2utils4jsf/pazpar2/sp/ServiceProxyClient.java b/src/main/java/com/indexdata/pz2utils4jsf/pazpar2/sp/ServiceProxyClient.java index e881506..b7c2944 100644 --- a/src/main/java/com/indexdata/pz2utils4jsf/pazpar2/sp/ServiceProxyClient.java +++ b/src/main/java/com/indexdata/pz2utils4jsf/pazpar2/sp/ServiceProxyClient.java @@ -5,8 +5,6 @@ import static com.indexdata.pz2utils4jsf.utils.Utils.nl; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.IOException; -import java.nio.file.Path; -import java.nio.file.Paths; import java.util.ArrayList; import java.util.HashMap; import java.util.List; @@ -237,7 +235,7 @@ public class ServiceProxyClient implements SearchClient { HttpPost post = new HttpPost(serviceUrl+"?command=init&includeDebug=yes"); File initDoc = new File(filePath); logger.info("Posting to SP: "); - Path path = Paths.get(filePath); + //Path path = Paths.get(filePath); /* if (logger.isDebugEnabled()) { try (Scanner scanner = new Scanner(path, "UTF-8")){ -- 1.7.10.4