mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
removed unused variables/imports
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3306 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
27e4429645
commit
7598e1243e
|
@ -104,7 +104,7 @@ public class Messages_p {
|
|||
|
||||
prop.put("mode", 0);
|
||||
prop.put("mode_error", 0);
|
||||
wikiCode wikiTransformer = new wikiCode(switchboard);
|
||||
//wikiCode wikiTransformer = new wikiCode(switchboard);
|
||||
|
||||
String action = ((post == null) ? "list" : post.get("action", "list"));
|
||||
messageBoard.entry message;
|
||||
|
|
|
@ -46,7 +46,6 @@
|
|||
import java.io.IOException;
|
||||
import java.util.Enumeration;
|
||||
|
||||
import de.anomic.data.wikiCode;
|
||||
import de.anomic.http.httpHeader;
|
||||
import de.anomic.plasma.plasmaSwitchboard;
|
||||
import de.anomic.server.serverObjects;
|
||||
|
|
|
@ -47,14 +47,13 @@
|
|||
// if the shell's current path is HTROOT
|
||||
|
||||
import de.anomic.http.httpHeader;
|
||||
import de.anomic.plasma.plasmaSwitchboard;
|
||||
import de.anomic.server.serverObjects;
|
||||
import de.anomic.server.serverSwitch;
|
||||
|
||||
public class WikiHelp {
|
||||
|
||||
public static serverObjects respond(httpHeader header, serverObjects post, serverSwitch env) {
|
||||
final plasmaSwitchboard sb = (plasmaSwitchboard) env;
|
||||
//final plasmaSwitchboard sb = (plasmaSwitchboard) env;
|
||||
final serverObjects prop = new serverObjects();
|
||||
return prop;
|
||||
}
|
||||
|
|
|
@ -283,14 +283,14 @@ public final class serverCore extends serverAbstractThread implements serverThre
|
|||
public void initPort(String seedPort, String bindPort) throws IOException {
|
||||
|
||||
// Binds the ServerSocket to a specific address
|
||||
InetSocketAddress bindAddress = null;
|
||||
//InetSocketAddress bindAddress = null;
|
||||
this.socket = new ServerSocket();
|
||||
if(bindPort == null || bindPort.equals("")){
|
||||
this.log.logInfo("Trying to bind server to port " + seedPort);
|
||||
this.socket.bind(bindAddress = generateSocketAddress(seedPort));
|
||||
this.socket.bind(/*bindAddress = */generateSocketAddress(seedPort));
|
||||
}else{ //bindPort set, use another port to bind than the port reachable from outside
|
||||
this.log.logInfo("Trying to bind server to port " + bindPort+ " with "+ seedPort + "as seedPort.");
|
||||
this.socket.bind(bindAddress = generateSocketAddress(bindPort));
|
||||
this.socket.bind(/*bindAddress = */generateSocketAddress(bindPort));
|
||||
}
|
||||
|
||||
// updating the port information
|
||||
|
|
Loading…
Reference in New Issue
Block a user