From 2efb758e7c2bd85801c76305161d9d8fa6d2be4b Mon Sep 17 00:00:00 2001 From: Matt Windsor Date: Sat, 19 Mar 2011 13:06:38 +0000 Subject: LibraryViewer: move to ResourceBundled text for localisation and decoupling purposes; warning cleanup; import of json_simple in preparation for JSON protocol implementation. --- src/uk/org/ury/server/Server.java | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/uk/org/ury/server/Server.java') diff --git a/src/uk/org/ury/server/Server.java b/src/uk/org/ury/server/Server.java index 6ac192c..5273362 100644 --- a/src/uk/org/ury/server/Server.java +++ b/src/uk/org/ury/server/Server.java @@ -21,12 +21,10 @@ import java.util.HashMap; import java.util.Map; import org.apache.http.Header; -import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.HttpStatus; import org.apache.http.HttpVersion; import org.apache.http.ParseException; -import org.apache.http.entity.BasicHttpEntity; import org.apache.http.entity.StringEntity; import org.apache.http.message.BasicHttpResponse; import org.apache.http.protocol.HTTP; @@ -55,7 +53,6 @@ public class Server private ServerSocket serverSocket; - private static final String HTTP_VERSION = "HTTP/1.1"; private static final String SERVER_VERSION = "SLUT 0.0"; private static final String DOCTYPE = "