diff --git a/htroot/IndexCreateIndexingQueue_p.java b/htroot/IndexCreateIndexingQueue_p.java index 691e0061d..2ab050663 100644 --- a/htroot/IndexCreateIndexingQueue_p.java +++ b/htroot/IndexCreateIndexingQueue_p.java @@ -47,14 +47,12 @@ import java.text.DecimalFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; -import java.util.Iterator; import java.util.Locale; import java.io.IOException; import de.anomic.data.wikiCode; import de.anomic.http.httpHeader; import de.anomic.plasma.plasmaCrawlEURL; -import de.anomic.plasma.plasmaHTCache; import de.anomic.plasma.plasmaSwitchboard; import de.anomic.plasma.plasmaSwitchboardQueue; import de.anomic.server.serverObjects; diff --git a/htroot/IndexCreate_p.java b/htroot/IndexCreate_p.java index d1f2674d2..804b08def 100644 --- a/htroot/IndexCreate_p.java +++ b/htroot/IndexCreate_p.java @@ -55,18 +55,15 @@ import java.util.HashMap; import java.util.Iterator; import java.util.Locale; import java.util.Map; -import java.util.Properties; import de.anomic.data.wikiCode; import de.anomic.htmlFilter.htmlFilterContentScraper; import de.anomic.htmlFilter.htmlFilterOutputStream; import de.anomic.http.httpHeader; -import de.anomic.plasma.plasmaCrawlNURL; import de.anomic.plasma.plasmaCrawlProfile; import de.anomic.plasma.plasmaParser; import de.anomic.plasma.plasmaSwitchboard; import de.anomic.plasma.plasmaURL; -import de.anomic.plasma.plasmaCrawlProfile; import de.anomic.server.serverFileUtils; import de.anomic.server.serverObjects; import de.anomic.server.serverSwitch; diff --git a/htroot/News.java b/htroot/News.java index 06d3cfad1..ff3d7ef58 100644 --- a/htroot/News.java +++ b/htroot/News.java @@ -44,7 +44,6 @@ // if the shell's current path is HTROOT import java.util.Enumeration; -import java.util.HashMap; import java.io.IOException; import de.anomic.data.wikiCode; @@ -52,7 +51,6 @@ import de.anomic.http.httpHeader; import de.anomic.plasma.plasmaSwitchboard; import de.anomic.server.serverObjects; import de.anomic.server.serverSwitch; -import de.anomic.server.serverDate; import de.anomic.yacy.yacyCore; import de.anomic.yacy.yacySeed; import de.anomic.yacy.yacyNewsRecord; diff --git a/htroot/PerformanceSearch_p.java b/htroot/PerformanceSearch_p.java index 924e0c782..7b4854c00 100644 --- a/htroot/PerformanceSearch_p.java +++ b/htroot/PerformanceSearch_p.java @@ -43,20 +43,15 @@ //javac -classpath .:../classes Network.java //if the shell's current path is HTROOT -import java.util.Iterator; import java.util.Map; import java.io.File; -import org.apache.commons.pool.impl.GenericObjectPool; - import de.anomic.http.httpHeader; import de.anomic.plasma.plasmaSwitchboard; import de.anomic.plasma.plasmaSearchProfile; import de.anomic.plasma.plasmaSearchEvent; -import de.anomic.server.serverCore; import de.anomic.server.serverObjects; import de.anomic.server.serverSwitch; -import de.anomic.server.serverThread; import de.anomic.server.serverFileUtils; public class PerformanceSearch_p { diff --git a/htroot/SearchEventPicture.java b/htroot/SearchEventPicture.java index 9cdf0ee66..ec42f5fe1 100644 --- a/htroot/SearchEventPicture.java +++ b/htroot/SearchEventPicture.java @@ -44,8 +44,6 @@ // Contributions and changes to the program code must be marked as such. -import java.awt.image.BufferedImage; - import de.anomic.http.httpHeader; import de.anomic.server.serverObjects; import de.anomic.server.serverSwitch; @@ -53,7 +51,6 @@ import de.anomic.server.serverSwitch; import de.anomic.plasma.plasmaGrafics; import de.anomic.ymage.ymagePainter; import de.anomic.ymage.ymageMatrixPainter; -import de.anomic.ymage.ymageMatrix; // draw a picture of the yacy network diff --git a/htroot/SettingsAck_p.java b/htroot/SettingsAck_p.java index a0a34314c..83fc68e4d 100644 --- a/htroot/SettingsAck_p.java +++ b/htroot/SettingsAck_p.java @@ -46,17 +46,9 @@ // javac -classpath .:../Classes SettingsAck_p.java // if the shell's current path is HTROOT -import java.net.URL; import java.util.Arrays; -import java.util.Collection; -import java.util.Collections; -import java.util.Enumeration; -import java.util.Hashtable; import java.util.HashMap; import java.util.Iterator; -import java.util.List; - -import org.apache.commons.pool.impl.GenericObjectPool; import de.anomic.http.httpHeader; import de.anomic.http.httpRemoteProxyConfig; diff --git a/htroot/Settings_p.java b/htroot/Settings_p.java index 6811a927f..ba800569e 100644 --- a/htroot/Settings_p.java +++ b/htroot/Settings_p.java @@ -45,16 +45,13 @@ import java.util.Arrays; import java.util.Collections; -import java.util.Enumeration; import java.util.HashMap; import java.util.Hashtable; import java.util.Iterator; import java.util.List; -import java.io.File; import de.anomic.http.httpHeader; import de.anomic.plasma.plasmaSwitchboard; -import de.anomic.server.serverCore; import de.anomic.server.serverObjects; import de.anomic.server.serverSwitch; import de.anomic.yacy.yacyCore; diff --git a/htroot/Status.java b/htroot/Status.java index 45666e64b..4ee764894 100644 --- a/htroot/Status.java +++ b/htroot/Status.java @@ -49,7 +49,6 @@ import java.lang.Math; import java.text.DecimalFormat; import java.util.Date; -import java.io.File; import de.anomic.http.httpHeader; import de.anomic.http.httpdByteCountInputStream; @@ -59,7 +58,6 @@ import de.anomic.server.serverCore; import de.anomic.server.serverDate; import de.anomic.server.serverObjects; import de.anomic.server.serverSwitch; -import de.anomic.server.serverThread; import de.anomic.yacy.yacyCore; import de.anomic.yacy.yacySeed; diff --git a/htroot/User_p.java b/htroot/User_p.java index 3fa53f177..18b95566d 100644 --- a/htroot/User_p.java +++ b/htroot/User_p.java @@ -46,8 +46,6 @@ //javac -classpath .:../Classes Message.java //if the shell's current path is HTROOT -import java.util.logging.Handler; -import java.util.logging.Logger; import java.util.Iterator; import java.util.HashMap; import java.io.IOException; diff --git a/htroot/Wiki.java b/htroot/Wiki.java index 7675fda2c..672b4cd35 100644 --- a/htroot/Wiki.java +++ b/htroot/Wiki.java @@ -46,10 +46,7 @@ // javac -classpath .:../classes Wiki.java // if the shell's current path is HTROOT -import java.io.BufferedReader; -import java.io.ByteArrayInputStream; import java.io.IOException; -import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.text.SimpleDateFormat; import java.util.Date; @@ -60,11 +57,9 @@ import de.anomic.data.wikiBoard; import de.anomic.data.wikiCode; import de.anomic.http.httpHeader; import de.anomic.plasma.plasmaSwitchboard; -import de.anomic.server.serverCore; import de.anomic.server.serverObjects; import de.anomic.server.serverSwitch; import de.anomic.yacy.yacyNewsRecord; -import de.anomic.yacy.yacyNewsPool; import de.anomic.yacy.yacyCore; public class Wiki { diff --git a/htroot/imagetest.java b/htroot/imagetest.java index 558ca617b..dc4088abd 100644 --- a/htroot/imagetest.java +++ b/htroot/imagetest.java @@ -50,18 +50,6 @@ import de.anomic.ymage.ymagePainter; import de.anomic.ymage.ymageMatrixPainter; import de.anomic.ymage.ymageMatrix; -import java.awt.Graphics2D; -import java.awt.Color; -import java.awt.image.BufferedImage; -import java.awt.image.WritableRaster; -import javax.imageio.ImageIO; -import java.io.File; -import java.io.IOException; -import java.io.FileOutputStream; -import java.io.ByteArrayOutputStream; -import java.lang.reflect.InvocationTargetException; -import java.lang.reflect.Method; - public class imagetest { diff --git a/htroot/index.java b/htroot/index.java index 64c210bf6..e3a159093 100644 --- a/htroot/index.java +++ b/htroot/index.java @@ -52,12 +52,10 @@ import java.net.URL; import java.util.HashMap; import java.util.TreeSet; -import de.anomic.htmlFilter.htmlFilterContentScraper; import de.anomic.http.httpHeader; import de.anomic.kelondro.kelondroMSetTools; import de.anomic.plasma.plasmaSwitchboard; import de.anomic.plasma.plasmaSearchQuery; -import de.anomic.server.serverByteBuffer; import de.anomic.server.serverCore; import de.anomic.server.serverDate; import de.anomic.server.serverObjects; @@ -273,4 +271,4 @@ public class index { -} \ No newline at end of file +} diff --git a/source/dbtest.java b/source/dbtest.java index 81ea9efeb..be7a9c599 100644 --- a/source/dbtest.java +++ b/source/dbtest.java @@ -7,7 +7,6 @@ import java.io.IOException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; -import java.sql.ResultSet; import java.util.Random; import java.util.Date; @@ -256,4 +255,4 @@ final class memprofiler extends Thread { try {Thread.sleep(1000);} catch (InterruptedException e) {} } } -} \ No newline at end of file +} diff --git a/source/de/anomic/data/translator.java b/source/de/anomic/data/translator.java index 6965edbec..ce7563e0f 100644 --- a/source/de/anomic/data/translator.java +++ b/source/de/anomic/data/translator.java @@ -55,7 +55,6 @@ import java.util.ArrayList; import java.util.Enumeration; import java.util.Hashtable; import java.util.Iterator; -import java.util.Vector; import de.anomic.server.logging.serverLog; import de.anomic.data.listManager; diff --git a/source/de/anomic/data/userDB.java b/source/de/anomic/data/userDB.java index ead3c388e..4c26d3354 100644 --- a/source/de/anomic/data/userDB.java +++ b/source/de/anomic/data/userDB.java @@ -60,7 +60,6 @@ import de.anomic.kelondro.kelondroException; import de.anomic.kelondro.kelondroMap; import de.anomic.server.logging.serverLog; import de.anomic.server.serverCodings; -import de.anomic.plasma.plasmaSwitchboard; public final class userDB { diff --git a/source/de/anomic/data/wikiCode.java b/source/de/anomic/data/wikiCode.java index 17c771c9b..fd28ea512 100644 --- a/source/de/anomic/data/wikiCode.java +++ b/source/de/anomic/data/wikiCode.java @@ -50,21 +50,9 @@ import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStreamReader; -import java.io.UnsupportedEncodingException; -import java.text.SimpleDateFormat; -import java.util.Date; -import java.util.Iterator; -import java.util.HashMap; -import de.anomic.data.wikiBoard; -import de.anomic.http.httpHeader; import de.anomic.plasma.plasmaSwitchboard; import de.anomic.server.serverCore; -import de.anomic.server.serverObjects; -import de.anomic.server.serverSwitch; -import de.anomic.yacy.yacyNewsRecord; -import de.anomic.yacy.yacyNewsPool; -import de.anomic.yacy.yacyCore; public class wikiCode { private String numListLevel=""; diff --git a/source/de/anomic/http/httpHeader.java b/source/de/anomic/http/httpHeader.java index d0d996bfb..b7e0f8acf 100644 --- a/source/de/anomic/http/httpHeader.java +++ b/source/de/anomic/http/httpHeader.java @@ -59,7 +59,6 @@ import java.io.File; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; -import java.net.InetAddress; import java.net.MalformedURLException; import java.net.URL; import java.text.Collator; @@ -70,12 +69,10 @@ import java.util.Iterator; import java.util.Locale; import java.util.Map; import java.util.Properties; -import java.util.TimeZone; import java.util.TreeMap; import de.anomic.server.serverCore; import de.anomic.server.logging.serverLog; -import de.anomic.yacy.yacyCore; public final class httpHeader extends TreeMap implements Map { @@ -716,4 +713,4 @@ public final class httpHeader extends TreeMap implements Map { String dstHostSocket = (String) header.get(httpHeader.HOST); prop.setProperty(CONNECTION_PROP_HOST,(httpd.isThisHostName(dstHostSocket)?virtualHost:dstHostSocket)); } -} \ No newline at end of file +} diff --git a/source/de/anomic/http/httpTemplate.java b/source/de/anomic/http/httpTemplate.java index 69d45e0f1..d35c65a3e 100644 --- a/source/de/anomic/http/httpTemplate.java +++ b/source/de/anomic/http/httpTemplate.java @@ -45,7 +45,6 @@ package de.anomic.http; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; -import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; diff --git a/source/de/anomic/http/httpc.java b/source/de/anomic/http/httpc.java index 026219b74..0303f09f0 100644 --- a/source/de/anomic/http/httpc.java +++ b/source/de/anomic/http/httpc.java @@ -42,8 +42,6 @@ package de.anomic.http; import java.io.File; import java.io.FileOutputStream; -import java.io.FilterInputStream; -import java.io.FilterOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; diff --git a/source/de/anomic/http/httpd.java b/source/de/anomic/http/httpd.java index d9a325ec6..b6427d54c 100644 --- a/source/de/anomic/http/httpd.java +++ b/source/de/anomic/http/httpd.java @@ -61,7 +61,6 @@ import java.util.HashSet; import java.util.Iterator; import java.util.Properties; import java.util.StringTokenizer; -import java.lang.StringIndexOutOfBoundsException; import de.anomic.server.serverByteBuffer; import de.anomic.server.serverCodings; diff --git a/source/de/anomic/http/httpdByteCountInputStream.java b/source/de/anomic/http/httpdByteCountInputStream.java index 92c345647..8f88fb78d 100644 --- a/source/de/anomic/http/httpdByteCountInputStream.java +++ b/source/de/anomic/http/httpdByteCountInputStream.java @@ -4,7 +4,6 @@ import java.io.FilterInputStream; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; -import java.util.Iterator; public final class httpdByteCountInputStream extends FilterInputStream { diff --git a/source/de/anomic/http/httpdFileHandler.java b/source/de/anomic/http/httpdFileHandler.java index d9c3e3679..7ec3f8e5e 100644 --- a/source/de/anomic/http/httpdFileHandler.java +++ b/source/de/anomic/http/httpdFileHandler.java @@ -112,7 +112,6 @@ import de.anomic.data.userDB; import de.anomic.ymage.ymagePainter; import de.anomic.ymage.ymageMatrixPainter; import de.anomic.ymage.ymagePNGEncoderAWT; -import de.anomic.ymage.ymagePNGEncoderJDE; public final class httpdFileHandler extends httpdAbstractHandler implements httpdHandler { diff --git a/source/de/anomic/plasma/parser/rss/rssParser.java b/source/de/anomic/plasma/parser/rss/rssParser.java index d2e01160c..dd2d8121c 100644 --- a/source/de/anomic/plasma/parser/rss/rssParser.java +++ b/source/de/anomic/plasma/parser/rss/rssParser.java @@ -47,10 +47,8 @@ import java.io.ByteArrayInputStream; import java.io.InputStream; import java.io.OutputStream; import java.net.URL; -import java.util.Arrays; import java.util.Collection; import java.util.HashMap; -import java.util.HashSet; import java.util.Hashtable; import java.util.Iterator; import java.util.LinkedList; diff --git a/source/de/anomic/plasma/plasmaCrawlWorker.java b/source/de/anomic/plasma/plasmaCrawlWorker.java index c9238fc78..bc5488d0b 100644 --- a/source/de/anomic/plasma/plasmaCrawlWorker.java +++ b/source/de/anomic/plasma/plasmaCrawlWorker.java @@ -52,18 +52,12 @@ import java.net.SocketException; import java.net.URL; import java.net.UnknownHostException; import java.util.Date; -import java.util.logging.FileHandler; -import java.util.logging.Level; -import java.util.logging.Logger; import de.anomic.http.httpHeader; import de.anomic.http.httpRemoteProxyConfig; import de.anomic.http.httpc; import de.anomic.http.httpdProxyHandler; -import de.anomic.server.serverCore; -import de.anomic.server.serverDate; import de.anomic.server.logging.serverLog; -import de.anomic.server.logging.serverMiniLogFormatter; import de.anomic.tools.bitfield; import de.anomic.yacy.yacyCore; diff --git a/source/de/anomic/plasma/plasmaSearchEvent.java b/source/de/anomic/plasma/plasmaSearchEvent.java index a8a4937bb..7cce5a8b1 100644 --- a/source/de/anomic/plasma/plasmaSearchEvent.java +++ b/source/de/anomic/plasma/plasmaSearchEvent.java @@ -44,14 +44,10 @@ package de.anomic.plasma; import java.util.Iterator; import java.util.Set; -import java.util.HashSet; -import java.util.TreeMap; -import java.util.Enumeration; import java.io.IOException; import de.anomic.kelondro.kelondroException; import de.anomic.server.logging.serverLog; -import de.anomic.server.serverCodings; import de.anomic.server.serverInstantThread; import de.anomic.yacy.yacySearch; diff --git a/source/de/anomic/plasma/plasmaSearchPreOrder.java b/source/de/anomic/plasma/plasmaSearchPreOrder.java index 5bc4f8de2..b4b1bb5ae 100644 --- a/source/de/anomic/plasma/plasmaSearchPreOrder.java +++ b/source/de/anomic/plasma/plasmaSearchPreOrder.java @@ -43,13 +43,8 @@ package de.anomic.plasma; import java.util.TreeMap; -import java.util.Set; -import java.util.HashSet; -import java.util.ArrayList; import java.util.Iterator; -import java.net.URL; -import de.anomic.kelondro.kelondroMScoreCluster; import de.anomic.server.serverCodings; public final class plasmaSearchPreOrder { @@ -100,4 +95,4 @@ public final class plasmaSearchPreOrder { } -} \ No newline at end of file +} diff --git a/source/de/anomic/plasma/plasmaSwitchboardQueue.java b/source/de/anomic/plasma/plasmaSwitchboardQueue.java index e2c54c0f1..516eec959 100644 --- a/source/de/anomic/plasma/plasmaSwitchboardQueue.java +++ b/source/de/anomic/plasma/plasmaSwitchboardQueue.java @@ -47,7 +47,6 @@ import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.Date; -import java.util.LinkedList; import de.anomic.htmlFilter.htmlFilterContentScraper; import de.anomic.http.httpHeader; diff --git a/source/de/anomic/plasma/plasmaWordIndexCache.java b/source/de/anomic/plasma/plasmaWordIndexCache.java index fec4861ca..16e210d98 100644 --- a/source/de/anomic/plasma/plasmaWordIndexCache.java +++ b/source/de/anomic/plasma/plasmaWordIndexCache.java @@ -44,7 +44,6 @@ package de.anomic.plasma; import java.io.File; import java.io.IOException; -import java.util.Enumeration; import java.util.Iterator; import java.util.Map; import java.util.TreeMap; diff --git a/source/de/anomic/server/serverFileUtils.java b/source/de/anomic/server/serverFileUtils.java index 8fa476a29..bb76e831c 100644 --- a/source/de/anomic/server/serverFileUtils.java +++ b/source/de/anomic/server/serverFileUtils.java @@ -55,7 +55,6 @@ import java.io.BufferedOutputStream; import java.io.PrintWriter; import java.util.zip.GZIPOutputStream; import java.util.HashSet; -import java.util.HashMap; import java.util.Map; import java.util.Properties; import java.util.Hashtable; diff --git a/source/de/anomic/yacy/yacyNewsDB.java b/source/de/anomic/yacy/yacyNewsDB.java index bb373ccdc..d9a594990 100644 --- a/source/de/anomic/yacy/yacyNewsDB.java +++ b/source/de/anomic/yacy/yacyNewsDB.java @@ -48,7 +48,6 @@ import java.util.Iterator; import de.anomic.yacy.yacyCore; import de.anomic.kelondro.kelondroTree; import de.anomic.kelondro.kelondroException; -import de.anomic.kelondro.kelondroRecords; import de.anomic.server.serverCodings; import de.anomic.server.serverDate; diff --git a/source/de/anomic/yacy/yacyNewsQueue.java b/source/de/anomic/yacy/yacyNewsQueue.java index a1d141cca..4dc01dff1 100644 --- a/source/de/anomic/yacy/yacyNewsQueue.java +++ b/source/de/anomic/yacy/yacyNewsQueue.java @@ -43,16 +43,10 @@ package de.anomic.yacy; import java.io.File; import java.io.IOException; -import java.net.MalformedURLException; -import java.net.URL; import java.util.Date; -import de.anomic.htmlFilter.htmlFilterContentScraper; -import de.anomic.http.httpHeader; import de.anomic.kelondro.kelondroStack; import de.anomic.kelondro.kelondroException; -import de.anomic.server.serverCodings; -import de.anomic.yacy.yacySeedDB; public class yacyNewsQueue { diff --git a/source/de/anomic/ymage/ymageChart.java b/source/de/anomic/ymage/ymageChart.java index 018222978..19bc24193 100644 --- a/source/de/anomic/ymage/ymageChart.java +++ b/source/de/anomic/ymage/ymageChart.java @@ -41,9 +41,6 @@ package de.anomic.ymage; -import java.io.File; -import java.io.IOException; - public class ymageChart extends ymageMatrixPainter { public static final int DIMENSION_RIGHT = 0; diff --git a/source/de/anomic/ymage/ymagePNGEncoderAWT.java b/source/de/anomic/ymage/ymagePNGEncoderAWT.java index 85b2692f6..18557910b 100644 --- a/source/de/anomic/ymage/ymagePNGEncoderAWT.java +++ b/source/de/anomic/ymage/ymagePNGEncoderAWT.java @@ -41,10 +41,6 @@ package de.anomic.ymage; import java.awt.Graphics2D; -import java.awt.GraphicsEnvironment; -import java.awt.GraphicsDevice; -import java.awt.GraphicsConfiguration; -import java.awt.Transparency; import java.awt.Color; import java.awt.image.BufferedImage; import java.awt.image.WritableRaster; diff --git a/source/de/anomic/ymage/ymagePNGEncoderJDE.java b/source/de/anomic/ymage/ymagePNGEncoderJDE.java index 6d7c7b444..f5d91ba9a 100644 --- a/source/de/anomic/ymage/ymagePNGEncoderJDE.java +++ b/source/de/anomic/ymage/ymagePNGEncoderJDE.java @@ -41,7 +41,6 @@ package de.anomic.ymage; -import java.util.*; import java.util.zip.*; import java.io.*; diff --git a/source/yacy.java b/source/yacy.java index 75d2037eb..62fe195df 100644 --- a/source/yacy.java +++ b/source/yacy.java @@ -51,7 +51,6 @@ import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.URL; -import java.util.Enumeration; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator;