first Try with Eclipse / cleaned sources

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1157 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
orbiter 2005-12-04 23:14:30 +00:00
parent d35fb38c2b
commit 548f0c6aff
2 changed files with 1 additions and 12 deletions

View File

@ -48,12 +48,10 @@ import java.io.OutputStream;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Locale;
import java.util.Map;
import de.anomic.data.wikiCode;
@ -75,11 +73,6 @@ import de.anomic.yacy.yacyNewsPool;
public class IndexCreate_p {
private static SimpleDateFormat dayFormatter = new SimpleDateFormat("yyyy/MM/dd", Locale.US);
private static String daydate(Date date) {
if (date == null) return ""; else return dayFormatter.format(date);
}
public static serverObjects respond(httpHeader header, serverObjects post, serverSwitch env) {
// return variable that accumulates replacements
plasmaSwitchboard switchboard = (plasmaSwitchboard) env;
@ -91,8 +84,6 @@ public class IndexCreate_p {
switchboard.cleanProfiles();
int i;
if (post != null) {
if (post.containsKey("crawlingstart")) {
// init crawl
@ -211,7 +202,7 @@ public class IndexCreate_p {
serverFileUtils.write(fileContent,os);
os.close();
String headline = scraper.getHeadline();
//String headline = scraper.getHeadline();
HashMap hyperlinks = (HashMap) scraper.getAnchors();
// creating a crawler profile

View File

@ -44,7 +44,6 @@
//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;
@ -61,7 +60,6 @@ public class autoconfig {
public static serverObjects respond(httpHeader header, serverObjects post, serverSwitch env) {
serverObjects prop = new serverObjects();
plasmaSwitchboard sb = (plasmaSwitchboard)env;
// getting the http host header
String hostSocket = (String) header.get(httpHeader.CONNECTION_PROP_HOST);