diff --git a/source/de/anomic/data/listManager.java b/source/de/anomic/data/listManager.java index 0cc0760bf..57f68f8bd 100644 --- a/source/de/anomic/data/listManager.java +++ b/source/de/anomic/data/listManager.java @@ -43,11 +43,20 @@ package de.anomic.data; -import java.util.*; -import java.io.*; -import de.anomic.plasma.*; -import de.anomic.http.*; -import de.anomic.server.*; +import java.io.BufferedReader; +import java.io.BufferedWriter; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileWriter; +import java.io.IOException; +import java.io.InputStreamReader; +import java.io.PrintWriter; +import java.util.TreeMap; +import java.util.Vector; + +import de.anomic.http.httpdProxyHandler; +import de.anomic.plasma.plasmaSwitchboard; +import de.anomic.server.serverCore; //The Naming of the functions is a bit strange... diff --git a/source/de/anomic/data/messageBoard.java b/source/de/anomic/data/messageBoard.java index d68864030..9cacdd7d6 100644 --- a/source/de/anomic/data/messageBoard.java +++ b/source/de/anomic/data/messageBoard.java @@ -40,11 +40,20 @@ package de.anomic.data; -import java.io.*; -import java.util.*; -import java.text.*; -import de.anomic.kelondro.*; -import de.anomic.server.*; +import java.io.File; +import java.io.IOException; +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.util.Date; +import java.util.GregorianCalendar; +import java.util.HashMap; +import java.util.Iterator; +import java.util.Map; +import java.util.TimeZone; + +import de.anomic.kelondro.kelondroDyn; +import de.anomic.kelondro.kelondroMap; +import de.anomic.server.serverCodings; public class messageBoard { diff --git a/source/de/anomic/data/wikiBoard.java b/source/de/anomic/data/wikiBoard.java index ce8b65a06..75aa827ee 100644 --- a/source/de/anomic/data/wikiBoard.java +++ b/source/de/anomic/data/wikiBoard.java @@ -40,11 +40,21 @@ package de.anomic.data; -import java.io.*; -import java.util.*; -import java.text.*; -import de.anomic.kelondro.*; -import de.anomic.server.*; +import java.io.File; +import java.io.IOException; +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.util.Date; +import java.util.GregorianCalendar; +import java.util.HashMap; +import java.util.Hashtable; +import java.util.Iterator; +import java.util.Map; +import java.util.TimeZone; + +import de.anomic.kelondro.kelondroDyn; +import de.anomic.kelondro.kelondroMap; +import de.anomic.server.serverCodings; public class wikiBoard { diff --git a/source/de/anomic/htmlFilter/htmlFilterAbstractScraper.java b/source/de/anomic/htmlFilter/htmlFilterAbstractScraper.java index 3661c2302..fecab5ebb 100644 --- a/source/de/anomic/htmlFilter/htmlFilterAbstractScraper.java +++ b/source/de/anomic/htmlFilter/htmlFilterAbstractScraper.java @@ -26,8 +26,10 @@ package de.anomic.htmlFilter; -import java.util.*; -import de.anomic.server.*; +import java.util.HashSet; +import java.util.Properties; + +import de.anomic.server.serverByteBuffer; public abstract class htmlFilterAbstractScraper implements htmlFilterScraper { diff --git a/source/de/anomic/htmlFilter/htmlFilterAbstractTransformer.java b/source/de/anomic/htmlFilter/htmlFilterAbstractTransformer.java index 3808ede63..6b8a46f93 100644 --- a/source/de/anomic/htmlFilter/htmlFilterAbstractTransformer.java +++ b/source/de/anomic/htmlFilter/htmlFilterAbstractTransformer.java @@ -40,7 +40,8 @@ package de.anomic.htmlFilter; -import java.util.*; +import java.util.HashSet; +import java.util.Properties; public abstract class htmlFilterAbstractTransformer implements htmlFilterTransformer { diff --git a/source/de/anomic/htmlFilter/htmlFilterContentScraper.java b/source/de/anomic/htmlFilter/htmlFilterContentScraper.java index c3b7343e0..082ba54f2 100644 --- a/source/de/anomic/htmlFilter/htmlFilterContentScraper.java +++ b/source/de/anomic/htmlFilter/htmlFilterContentScraper.java @@ -40,9 +40,13 @@ package de.anomic.htmlFilter; -import java.net.*; -import java.util.*; -import de.anomic.server.*; +import java.net.URL; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Map; +import java.util.Properties; + +import de.anomic.server.serverByteBuffer; public class htmlFilterContentScraper extends htmlFilterAbstractScraper implements htmlFilterScraper { diff --git a/source/de/anomic/htmlFilter/htmlFilterContentTransformer.java b/source/de/anomic/htmlFilter/htmlFilterContentTransformer.java index 8fabc2c32..1fcaa3985 100644 --- a/source/de/anomic/htmlFilter/htmlFilterContentTransformer.java +++ b/source/de/anomic/htmlFilter/htmlFilterContentTransformer.java @@ -40,9 +40,14 @@ package de.anomic.htmlFilter; -import java.io.*; -import java.util.*; -import de.anomic.server.*; +import java.io.BufferedReader; +import java.io.File; +import java.io.FileReader; +import java.util.HashSet; +import java.util.Properties; +import java.util.Vector; + +import de.anomic.server.serverByteBuffer; public class htmlFilterContentTransformer extends htmlFilterAbstractTransformer implements htmlFilterTransformer { diff --git a/source/de/anomic/htmlFilter/htmlFilterOutputStream.java b/source/de/anomic/htmlFilter/htmlFilterOutputStream.java index e3d69a5b3..3ce2acb3a 100644 --- a/source/de/anomic/htmlFilter/htmlFilterOutputStream.java +++ b/source/de/anomic/htmlFilter/htmlFilterOutputStream.java @@ -48,10 +48,19 @@ package de.anomic.htmlFilter; -import java.io.*; -import java.net.*; -import java.util.*; -import de.anomic.server.*; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStream; +import java.net.MalformedURLException; +import java.net.URL; +import java.util.Enumeration; +import java.util.Properties; +import java.util.Vector; + +import de.anomic.server.serverByteBuffer; public final class htmlFilterOutputStream extends OutputStream { diff --git a/source/de/anomic/htmlFilter/htmlFilterScraper.java b/source/de/anomic/htmlFilter/htmlFilterScraper.java index ea709051f..8526cda7a 100644 --- a/source/de/anomic/htmlFilter/htmlFilterScraper.java +++ b/source/de/anomic/htmlFilter/htmlFilterScraper.java @@ -40,7 +40,7 @@ package de.anomic.htmlFilter; -import java.util.*; +import java.util.Properties; public interface htmlFilterScraper { diff --git a/source/de/anomic/htmlFilter/htmlFilterTransformer.java b/source/de/anomic/htmlFilter/htmlFilterTransformer.java index bc68336ed..7894f9e02 100644 --- a/source/de/anomic/htmlFilter/htmlFilterTransformer.java +++ b/source/de/anomic/htmlFilter/htmlFilterTransformer.java @@ -40,7 +40,7 @@ package de.anomic.htmlFilter; -import java.util.*; +import java.util.Properties; public interface htmlFilterTransformer { diff --git a/source/de/anomic/http/httpHeader.java b/source/de/anomic/http/httpHeader.java index 0de74f7ea..3b04928db 100644 --- a/source/de/anomic/http/httpHeader.java +++ b/source/de/anomic/http/httpHeader.java @@ -52,10 +52,22 @@ package de.anomic.http; -import java.io.*; -import java.util.*; -import java.text.*; -import de.anomic.server.*; +import java.io.BufferedReader; +import java.io.File; +import java.io.FileOutputStream; +import java.io.FileReader; +import java.io.IOException; +import java.text.Collator; +import java.text.SimpleDateFormat; +import java.util.Date; +import java.util.HashMap; +import java.util.Iterator; +import java.util.Locale; +import java.util.Map; +import java.util.TimeZone; +import java.util.TreeMap; + +import de.anomic.server.serverLog; public final class httpHeader extends TreeMap implements Map { diff --git a/source/de/anomic/http/httpTemplate.java b/source/de/anomic/http/httpTemplate.java index 84e98b178..bdbd10c9a 100644 --- a/source/de/anomic/http/httpTemplate.java +++ b/source/de/anomic/http/httpTemplate.java @@ -42,9 +42,15 @@ package de.anomic.http; -import de.anomic.server.*; -import java.util.*; -import java.io.*; +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStream; +import java.io.PushbackInputStream; +import java.util.Hashtable; + +import de.anomic.server.serverFileUtils; final class httpTemplate { diff --git a/source/de/anomic/http/httpc.java b/source/de/anomic/http/httpc.java index f5d4fceea..8b40691f0 100644 --- a/source/de/anomic/http/httpc.java +++ b/source/de/anomic/http/httpc.java @@ -49,21 +49,43 @@ package de.anomic.http; -import java.io.*; -import java.net.*; -import java.text.*; -import java.lang.*; -import java.util.*; -import java.util.zip.*; -import de.anomic.server.*; -import de.anomic.server.serverCore.Session; -import de.anomic.server.serverCore.SessionFactory; -import de.anomic.server.serverCore.SessionPool; - -import javax.net.ssl.SSLSocketFactory; +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.File; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStream; +import java.io.PushbackInputStream; +import java.net.InetAddress; +import java.net.MalformedURLException; +import java.net.Socket; +import java.net.SocketException; +import java.net.URL; +import java.net.UnknownHostException; +import java.text.SimpleDateFormat; +import java.util.Date; +import java.util.Enumeration; +import java.util.GregorianCalendar; +import java.util.HashMap; +import java.util.Hashtable; +import java.util.Iterator; +import java.util.Locale; +import java.util.TimeZone; +import java.util.Vector; +import java.util.zip.GZIPInputStream; + +import javax.net.ssl.SSLSocketFactory; import org.apache.commons.pool.impl.GenericObjectPool; +import de.anomic.server.serverByteBuffer; +import de.anomic.server.serverCodings; +import de.anomic.server.serverCore; +import de.anomic.server.serverLog; +import de.anomic.server.serverObjects; +import de.anomic.server.serverCore.Session; + public final class httpc { // statics diff --git a/source/de/anomic/http/httpd.java b/source/de/anomic/http/httpd.java index 2dd6ecf2f..b11f8c2db 100644 --- a/source/de/anomic/http/httpd.java +++ b/source/de/anomic/http/httpd.java @@ -49,17 +49,21 @@ package de.anomic.http; -import java.io.*; -import java.net.*; -import java.util.*; -import java.text.*; - -import org.apache.commons.pool.impl.GenericObjectPool; - -import de.anomic.server.*; -import de.anomic.server.serverCore.Session; -import de.anomic.server.serverCore.SessionFactory; -import de.anomic.server.serverCore.SessionPool; +import java.io.IOException; +import java.io.InputStream; +import java.io.PushbackInputStream; +import java.net.InetAddress; +import java.util.HashMap; +import java.util.Properties; +import java.util.Set; +import java.util.StringTokenizer; + +import de.anomic.server.serverCodings; +import de.anomic.server.serverCore; +import de.anomic.server.serverHandler; +import de.anomic.server.serverLog; +import de.anomic.server.serverObjects; +import de.anomic.server.serverSwitch; public final class httpd implements serverHandler { diff --git a/source/de/anomic/http/httpdAbstractHandler.java b/source/de/anomic/http/httpdAbstractHandler.java index 3a459f3fa..3afc25f7d 100644 --- a/source/de/anomic/http/httpdAbstractHandler.java +++ b/source/de/anomic/http/httpdAbstractHandler.java @@ -51,7 +51,7 @@ package de.anomic.http; -import java.text.*; +import java.text.SimpleDateFormat; abstract class httpdAbstractHandler { diff --git a/source/de/anomic/http/httpdFileHandler.java b/source/de/anomic/http/httpdFileHandler.java index 61b337a88..e05451fb9 100644 --- a/source/de/anomic/http/httpdFileHandler.java +++ b/source/de/anomic/http/httpdFileHandler.java @@ -74,10 +74,30 @@ package de.anomic.http; -import java.io.*; -import java.util.*; -import java.lang.reflect.*; -import de.anomic.server.*; +import java.io.ByteArrayOutputStream; +import java.io.File; +import java.io.FileInputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStream; +import java.io.PushbackInputStream; +import java.lang.reflect.InvocationTargetException; +import java.lang.reflect.Method; +import java.util.Date; +import java.util.Enumeration; +import java.util.HashMap; +import java.util.Iterator; +import java.util.Map; +import java.util.Properties; + +import de.anomic.server.serverByteBuffer; +import de.anomic.server.serverClassLoader; +import de.anomic.server.serverCodings; +import de.anomic.server.serverCore; +import de.anomic.server.serverFileUtils; +import de.anomic.server.serverLog; +import de.anomic.server.serverObjects; +import de.anomic.server.serverSwitch; public final class httpdFileHandler extends httpdAbstractHandler implements httpdHandler { diff --git a/source/de/anomic/http/httpdHandler.java b/source/de/anomic/http/httpdHandler.java index a63c98a02..968a25d6b 100644 --- a/source/de/anomic/http/httpdHandler.java +++ b/source/de/anomic/http/httpdHandler.java @@ -51,8 +51,11 @@ package de.anomic.http; -import java.io.*; -import java.util.*; +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStream; +import java.io.PushbackInputStream; +import java.util.Properties; public interface httpdHandler { diff --git a/source/de/anomic/http/httpdProxyHandler.java b/source/de/anomic/http/httpdProxyHandler.java index aac8762fb..aa3349c8f 100644 --- a/source/de/anomic/http/httpdProxyHandler.java +++ b/source/de/anomic/http/httpdProxyHandler.java @@ -59,13 +59,39 @@ package de.anomic.http; -import java.io.*; -import java.net.*; -import java.util.*; -import de.anomic.htmlFilter.*; -import de.anomic.server.*; -import de.anomic.yacy.*; -import de.anomic.plasma.*; +import java.io.BufferedReader; +import java.io.ByteArrayOutputStream; +import java.io.File; +import java.io.FileInputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.io.OutputStream; +import java.io.PrintStream; +import java.io.PushbackInputStream; +import java.net.MalformedURLException; +import java.net.Socket; +import java.net.SocketException; +import java.net.URL; +import java.util.Date; +import java.util.HashSet; +import java.util.Iterator; +import java.util.Properties; +import java.util.TreeMap; + +import de.anomic.htmlFilter.htmlFilterContentScraper; +import de.anomic.htmlFilter.htmlFilterContentTransformer; +import de.anomic.htmlFilter.htmlFilterOutputStream; +import de.anomic.htmlFilter.htmlFilterTransformer; +import de.anomic.plasma.plasmaCrawlLURL; +import de.anomic.plasma.plasmaHTCache; +import de.anomic.plasma.plasmaSwitchboard; +import de.anomic.server.serverCore; +import de.anomic.server.serverFileUtils; +import de.anomic.server.serverLog; +import de.anomic.server.serverObjects; +import de.anomic.server.serverSwitch; +import de.anomic.yacy.yacyCore; public final class httpdProxyHandler extends httpdAbstractHandler implements httpdHandler { diff --git a/source/de/anomic/http/httpdSwitchboard.java b/source/de/anomic/http/httpdSwitchboard.java index 1e9396431..4dd74e0ae 100644 --- a/source/de/anomic/http/httpdSwitchboard.java +++ b/source/de/anomic/http/httpdSwitchboard.java @@ -40,9 +40,12 @@ package de.anomic.http; -import java.io.*; -import java.util.*; -import de.anomic.server.*; +import java.io.IOException; +import java.util.LinkedList; + +import de.anomic.server.serverAbstractSwitch; +import de.anomic.server.serverObjects; +import de.anomic.server.serverSwitch; public final class httpdSwitchboard extends serverAbstractSwitch implements serverSwitch { diff --git a/source/de/anomic/kelondro/kelondroAbstractRA.java b/source/de/anomic/kelondro/kelondroAbstractRA.java index c92addda0..d4a20044e 100644 --- a/source/de/anomic/kelondro/kelondroAbstractRA.java +++ b/source/de/anomic/kelondro/kelondroAbstractRA.java @@ -41,10 +41,12 @@ package de.anomic.kelondro; -import java.io.*; -import java.util.*; - -import de.anomic.server.*; +import java.io.IOException; +import java.util.Enumeration; +import java.util.Iterator; +import java.util.Map; +import java.util.Properties; +import java.util.TreeMap; abstract class kelondroAbstractRA implements kelondroRA { diff --git a/source/de/anomic/kelondro/kelondroBufferedRA.java b/source/de/anomic/kelondro/kelondroBufferedRA.java index 42f19b093..afdc71ea6 100644 --- a/source/de/anomic/kelondro/kelondroBufferedRA.java +++ b/source/de/anomic/kelondro/kelondroBufferedRA.java @@ -41,8 +41,10 @@ package de.anomic.kelondro; -import java.io.*; -import java.util.*; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.util.HashMap; +import java.util.Iterator; public class kelondroBufferedRA extends kelondroAbstractRA implements kelondroRA { diff --git a/source/de/anomic/kelondro/kelondroDyn.java b/source/de/anomic/kelondro/kelondroDyn.java index c5c1acff5..667cd3762 100644 --- a/source/de/anomic/kelondro/kelondroDyn.java +++ b/source/de/anomic/kelondro/kelondroDyn.java @@ -52,9 +52,14 @@ package de.anomic.kelondro; -import java.io.*; -import java.util.*; -import de.anomic.server.*; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.io.IOException; +import java.util.Iterator; + +import de.anomic.server.serverByteBuffer; +import de.anomic.server.serverCodings; public class kelondroDyn extends kelondroTree { diff --git a/source/de/anomic/kelondro/kelondroDynTree.java b/source/de/anomic/kelondro/kelondroDynTree.java index 28e12c4f1..e7d822b84 100644 --- a/source/de/anomic/kelondro/kelondroDynTree.java +++ b/source/de/anomic/kelondro/kelondroDynTree.java @@ -44,8 +44,11 @@ package de.anomic.kelondro; -import java.io.*; -import java.util.*; +import java.io.File; +import java.io.IOException; +import java.util.Enumeration; +import java.util.Hashtable; +import java.util.Iterator; public class kelondroDynTree { diff --git a/source/de/anomic/kelondro/kelondroFScoreCluster.java b/source/de/anomic/kelondro/kelondroFScoreCluster.java index f1de79d2f..d7cf61ace 100644 --- a/source/de/anomic/kelondro/kelondroFScoreCluster.java +++ b/source/de/anomic/kelondro/kelondroFScoreCluster.java @@ -49,9 +49,11 @@ package de.anomic.kelondro; -import de.anomic.server.*; -import java.io.*; -import java.util.*; +import java.io.File; +import java.io.IOException; +import java.util.Iterator; + +import de.anomic.server.serverCodings; public class kelondroFScoreCluster { diff --git a/source/de/anomic/kelondro/kelondroFileRA.java b/source/de/anomic/kelondro/kelondroFileRA.java index 37fb429cd..6323fc803 100644 --- a/source/de/anomic/kelondro/kelondroFileRA.java +++ b/source/de/anomic/kelondro/kelondroFileRA.java @@ -41,8 +41,12 @@ package de.anomic.kelondro; -import java.io.*; -import java.util.*; +import java.io.File; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.io.RandomAccessFile; +import java.util.Map; +import java.util.Properties; public class kelondroFileRA extends kelondroAbstractRA implements kelondroRA { diff --git a/source/de/anomic/kelondro/kelondroMScoreCluster.java b/source/de/anomic/kelondro/kelondroMScoreCluster.java index a9e84cef5..21059748e 100644 --- a/source/de/anomic/kelondro/kelondroMScoreCluster.java +++ b/source/de/anomic/kelondro/kelondroMScoreCluster.java @@ -40,8 +40,10 @@ package de.anomic.kelondro; -import java.util.*; -import java.text.*; +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.util.Iterator; +import java.util.TreeMap; public class kelondroMScoreCluster { diff --git a/source/de/anomic/kelondro/kelondroMScoreIndex.java b/source/de/anomic/kelondro/kelondroMScoreIndex.java index 53b920095..e40d3f895 100644 --- a/source/de/anomic/kelondro/kelondroMScoreIndex.java +++ b/source/de/anomic/kelondro/kelondroMScoreIndex.java @@ -40,7 +40,10 @@ package de.anomic.kelondro; -import java.util.*; +import java.util.Comparator; +import java.util.HashMap; +import java.util.Iterator; +import java.util.TreeMap; public class kelondroMScoreIndex { diff --git a/source/de/anomic/kelondro/kelondroMSetTools.java b/source/de/anomic/kelondro/kelondroMSetTools.java index cbe1df19c..1e98cfa64 100644 --- a/source/de/anomic/kelondro/kelondroMSetTools.java +++ b/source/de/anomic/kelondro/kelondroMSetTools.java @@ -40,7 +40,10 @@ package de.anomic.kelondro; -import java.util.*; +import java.util.Comparator; +import java.util.Iterator; +import java.util.TreeMap; +import java.util.TreeSet; public class kelondroMSetTools { diff --git a/source/de/anomic/kelondro/kelondroMap.java b/source/de/anomic/kelondro/kelondroMap.java index 6175b07af..9b3c1bfb0 100644 --- a/source/de/anomic/kelondro/kelondroMap.java +++ b/source/de/anomic/kelondro/kelondroMap.java @@ -42,8 +42,12 @@ package de.anomic.kelondro; -import java.io.*; -import java.util.*; +import java.io.IOException; +import java.util.HashMap; +import java.util.Iterator; +import java.util.LinkedList; +import java.util.ListIterator; +import java.util.Map; public class kelondroMap { diff --git a/source/de/anomic/kelondro/kelondroNIOFileRA.java b/source/de/anomic/kelondro/kelondroNIOFileRA.java index cd4c5ad0b..0066033c2 100644 --- a/source/de/anomic/kelondro/kelondroNIOFileRA.java +++ b/source/de/anomic/kelondro/kelondroNIOFileRA.java @@ -41,10 +41,11 @@ package de.anomic.kelondro; -import java.io.*; -import java.util.*; -import java.nio.*; -import java.nio.channels.*; +import java.io.File; +import java.io.IOException; +import java.io.RandomAccessFile; +import java.nio.MappedByteBuffer; +import java.nio.channels.FileChannel; public class kelondroNIOFileRA extends kelondroAbstractRA implements kelondroRA { diff --git a/source/de/anomic/kelondro/kelondroRA.java b/source/de/anomic/kelondro/kelondroRA.java index f81c32771..d67ca1b74 100644 --- a/source/de/anomic/kelondro/kelondroRA.java +++ b/source/de/anomic/kelondro/kelondroRA.java @@ -50,8 +50,9 @@ package de.anomic.kelondro; -import java.io.*; -import java.util.*; +import java.io.IOException; +import java.util.Map; +import java.util.Properties; public interface kelondroRA { diff --git a/source/de/anomic/kelondro/kelondroRecords.java b/source/de/anomic/kelondro/kelondroRecords.java index 4321750a4..f9c000bf0 100644 --- a/source/de/anomic/kelondro/kelondroRecords.java +++ b/source/de/anomic/kelondro/kelondroRecords.java @@ -68,8 +68,11 @@ package de.anomic.kelondro; -import java.io.*; -import java.util.*; +import java.io.File; +import java.io.IOException; +import java.util.HashMap; +import java.util.NoSuchElementException; +import java.util.StringTokenizer; public class kelondroRecords { diff --git a/source/de/anomic/kelondro/kelondroStack.java b/source/de/anomic/kelondro/kelondroStack.java index 8b9df2e86..c9cbb0fb1 100644 --- a/source/de/anomic/kelondro/kelondroStack.java +++ b/source/de/anomic/kelondro/kelondroStack.java @@ -45,8 +45,13 @@ package de.anomic.kelondro; -import java.io.*; -import java.util.*; +import java.io.BufferedReader; +import java.io.File; +import java.io.FileReader; +import java.io.IOException; +import java.io.RandomAccessFile; +import java.util.Iterator; +import java.util.StringTokenizer; public class kelondroStack extends kelondroRecords { diff --git a/source/de/anomic/kelondro/kelondroTables.java b/source/de/anomic/kelondro/kelondroTables.java index 9010e7536..453285716 100644 --- a/source/de/anomic/kelondro/kelondroTables.java +++ b/source/de/anomic/kelondro/kelondroTables.java @@ -42,8 +42,11 @@ // this is mainly a convenience class to bundle many kelondroMap Objects package de.anomic.kelondro; -import java.io.*; -import java.util.*; +import java.io.File; +import java.io.IOException; +import java.util.HashMap; +import java.util.Iterator; +import java.util.Map; public class kelondroTables { diff --git a/source/de/anomic/kelondro/kelondroTree.java b/source/de/anomic/kelondro/kelondroTree.java index fc2535cd4..83b087e0e 100644 --- a/source/de/anomic/kelondro/kelondroTree.java +++ b/source/de/anomic/kelondro/kelondroTree.java @@ -45,8 +45,19 @@ package de.anomic.kelondro; -import java.io.*; -import java.util.*; +import java.io.BufferedReader; +import java.io.File; +import java.io.FileReader; +import java.io.IOException; +import java.io.RandomAccessFile; +import java.util.Comparator; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Iterator; +import java.util.LinkedList; +import java.util.Map; +import java.util.StringTokenizer; +import java.util.Vector; public class kelondroTree extends kelondroRecords implements Comparator { diff --git a/source/de/anomic/net/ftpc.java b/source/de/anomic/net/ftpc.java index dbf75c447..df3e180f2 100644 --- a/source/de/anomic/net/ftpc.java +++ b/source/de/anomic/net/ftpc.java @@ -41,12 +41,36 @@ package de.anomic.net; -import java.lang.reflect.*; -import java.util.*; -import java.io.*; +import java.io.BufferedReader; +import java.io.ByteArrayOutputStream; +import java.io.DataInputStream; +import java.io.DataOutputStream; +import java.io.File; +import java.io.FileDescriptor; +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.io.OutputStream; +import java.io.PrintStream; +import java.io.RandomAccessFile; +import java.lang.reflect.InvocationTargetException; +import java.lang.reflect.Method; +import java.net.InetAddress; +import java.net.ServerSocket; +import java.net.Socket; import java.text.DateFormat; -import java.net.*; -import de.anomic.server.*; +import java.util.Date; +import java.util.Enumeration; +import java.util.GregorianCalendar; +import java.util.Properties; +import java.util.StringTokenizer; +import java.util.TimeZone; +import java.util.Vector; + +import de.anomic.server.serverCore; public class ftpc { diff --git a/source/de/anomic/net/natLib.java b/source/de/anomic/net/natLib.java index df3026bf0..5103a4822 100644 --- a/source/de/anomic/net/natLib.java +++ b/source/de/anomic/net/natLib.java @@ -40,12 +40,14 @@ package de.anomic.net; -import java.io.*; -import java.util.*; -import java.net.*; -import de.anomic.tools.*; -import de.anomic.server.*; -import de.anomic.http.*; +import java.net.InetAddress; +import java.net.URL; +import java.util.Vector; + +import de.anomic.http.httpc; +import de.anomic.server.serverCore; +import de.anomic.tools.disorderHeap; +import de.anomic.tools.nxTools; public class natLib { diff --git a/source/de/anomic/net/whois.java b/source/de/anomic/net/whois.java index 2eef2504d..2e83682a8 100644 --- a/source/de/anomic/net/whois.java +++ b/source/de/anomic/net/whois.java @@ -41,8 +41,10 @@ package de.anomic.net; -import java.io.*; -import java.util.*; +import java.io.BufferedReader; +import java.io.IOException; +import java.io.InputStreamReader; +import java.util.Properties; public class whois { diff --git a/source/de/anomic/plasma/parser/doc/docParser.java b/source/de/anomic/plasma/parser/doc/docParser.java index ae9f80efc..b1da44659 100644 --- a/source/de/anomic/plasma/parser/doc/docParser.java +++ b/source/de/anomic/plasma/parser/doc/docParser.java @@ -49,7 +49,6 @@ import java.util.Hashtable; import org.textmining.text.extraction.WordExtractor; - import de.anomic.plasma.plasmaParserDocument; import de.anomic.plasma.parser.AbstractParser; import de.anomic.plasma.parser.Parser; diff --git a/source/de/anomic/plasma/parser/pdf/pdfParser.java b/source/de/anomic/plasma/parser/pdf/pdfParser.java index 821f200bb..db3118a42 100644 --- a/source/de/anomic/plasma/parser/pdf/pdfParser.java +++ b/source/de/anomic/plasma/parser/pdf/pdfParser.java @@ -43,12 +43,7 @@ package de.anomic.plasma.parser.pdf; -import java.io.BufferedInputStream; -import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; -import java.io.File; -import java.io.FileInputStream; -import java.io.FileNotFoundException; import java.io.InputStream; import java.io.OutputStreamWriter; import java.net.URL; @@ -56,7 +51,6 @@ import java.util.Arrays; import java.util.HashSet; import java.util.Hashtable; - import org.pdfbox.pdfparser.PDFParser; import org.pdfbox.pdmodel.PDDocument; import org.pdfbox.pdmodel.PDDocumentInformation; diff --git a/source/de/anomic/plasma/plasmaCondenser.java b/source/de/anomic/plasma/plasmaCondenser.java index cf0ddcbfc..c88f05f4b 100644 --- a/source/de/anomic/plasma/plasmaCondenser.java +++ b/source/de/anomic/plasma/plasmaCondenser.java @@ -44,10 +44,27 @@ package de.anomic.plasma; -import java.io.*; -import java.util.*; -import de.anomic.htmlFilter.*; -import de.anomic.kelondro.*; +import java.io.BufferedReader; +import java.io.ByteArrayInputStream; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileWriter; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.util.Enumeration; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Iterator; +import java.util.Map; +import java.util.Properties; +import java.util.Set; +import java.util.TreeMap; +import java.util.TreeSet; + +import de.anomic.htmlFilter.htmlFilterContentScraper; +import de.anomic.htmlFilter.htmlFilterOutputStream; +import de.anomic.kelondro.kelondroMSetTools; public class plasmaCondenser { diff --git a/source/de/anomic/plasma/plasmaCrawlEURL.java b/source/de/anomic/plasma/plasmaCrawlEURL.java index 9f2519d0b..ff41132bd 100644 --- a/source/de/anomic/plasma/plasmaCrawlEURL.java +++ b/source/de/anomic/plasma/plasmaCrawlEURL.java @@ -43,13 +43,17 @@ package de.anomic.plasma; -import java.io.*; -import java.net.*; -import java.util.*; -import de.anomic.kelondro.*; -import de.anomic.server.*; -import de.anomic.tools.*; -import de.anomic.http.*; +import java.io.File; +import java.io.IOException; +import java.net.URL; +import java.util.Date; +import java.util.Enumeration; +import java.util.HashMap; +import java.util.LinkedList; + +import de.anomic.kelondro.kelondroTree; +import de.anomic.server.serverCodings; +import de.anomic.tools.bitfield; public class plasmaCrawlEURL extends plasmaURL { diff --git a/source/de/anomic/plasma/plasmaCrawlLURL.java b/source/de/anomic/plasma/plasmaCrawlLURL.java index 6c76599df..fa70fc6ae 100644 --- a/source/de/anomic/plasma/plasmaCrawlLURL.java +++ b/source/de/anomic/plasma/plasmaCrawlLURL.java @@ -49,15 +49,25 @@ package de.anomic.plasma; -import java.io.*; -import java.net.*; -import java.util.*; -import java.text.*; -import de.anomic.kelondro.*; -import de.anomic.tools.*; -import de.anomic.server.*; -import de.anomic.http.*; -import de.anomic.yacy.*; +import java.io.File; +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.LinkedList; +import java.util.Locale; +import java.util.Properties; + +import de.anomic.http.httpc; +import de.anomic.kelondro.kelondroTree; +import de.anomic.server.serverCodings; +import de.anomic.server.serverLog; +import de.anomic.server.serverObjects; +import de.anomic.tools.crypt; +import de.anomic.yacy.yacyCore; +import de.anomic.yacy.yacySeed; public class plasmaCrawlLURL extends plasmaURL { diff --git a/source/de/anomic/plasma/plasmaCrawlLoader.java b/source/de/anomic/plasma/plasmaCrawlLoader.java index d856b3eec..b979659a3 100644 --- a/source/de/anomic/plasma/plasmaCrawlLoader.java +++ b/source/de/anomic/plasma/plasmaCrawlLoader.java @@ -41,17 +41,16 @@ package de.anomic.plasma; -import java.io.*; -import java.util.*; -import java.net.*; +import java.net.URL; +import java.util.ArrayList; +import java.util.Collections; +import java.util.Comparator; +import java.util.HashSet; import org.apache.commons.pool.impl.GenericObjectPool; -import de.anomic.net.*; -import de.anomic.http.*; -import de.anomic.server.*; -import de.anomic.tools.*; -import de.anomic.htmlFilter.*; +import de.anomic.server.serverLog; +import de.anomic.server.serverSemaphore; public final class plasmaCrawlLoader extends Thread { diff --git a/source/de/anomic/plasma/plasmaCrawlNURL.java b/source/de/anomic/plasma/plasmaCrawlNURL.java index 638735925..28425cc10 100644 --- a/source/de/anomic/plasma/plasmaCrawlNURL.java +++ b/source/de/anomic/plasma/plasmaCrawlNURL.java @@ -43,14 +43,21 @@ package de.anomic.plasma; -import java.io.*; -import java.net.*; -import java.util.*; -import de.anomic.kelondro.*; -import de.anomic.server.*; -import de.anomic.tools.*; -import de.anomic.http.*; -import de.anomic.yacy.*; +import java.io.File; +import java.io.IOException; +import java.net.URL; +import java.util.Date; +import java.util.Enumeration; +import java.util.HashSet; +import java.util.Iterator; + +import de.anomic.kelondro.kelondroException; +import de.anomic.kelondro.kelondroRecords; +import de.anomic.kelondro.kelondroStack; +import de.anomic.kelondro.kelondroTree; +import de.anomic.server.serverCodings; +import de.anomic.server.serverLog; +import de.anomic.tools.bitfield; public class plasmaCrawlNURL extends plasmaURL { diff --git a/source/de/anomic/plasma/plasmaCrawlProfile.java b/source/de/anomic/plasma/plasmaCrawlProfile.java index ef980f6ca..3ae09581f 100644 --- a/source/de/anomic/plasma/plasmaCrawlProfile.java +++ b/source/de/anomic/plasma/plasmaCrawlProfile.java @@ -41,10 +41,16 @@ package de.anomic.plasma; -import java.io.*; -import java.util.*; -import de.anomic.kelondro.*; -import de.anomic.server.*; +import java.io.File; +import java.io.IOException; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Iterator; +import java.util.Map; + +import de.anomic.kelondro.kelondroDyn; +import de.anomic.kelondro.kelondroMap; +import de.anomic.server.serverCodings; public class plasmaCrawlProfile { diff --git a/source/de/anomic/plasma/plasmaHTCache.java b/source/de/anomic/plasma/plasmaHTCache.java index 3b89e105b..98ba85b36 100644 --- a/source/de/anomic/plasma/plasmaHTCache.java +++ b/source/de/anomic/plasma/plasmaHTCache.java @@ -50,14 +50,25 @@ package de.anomic.plasma; -import java.io.*; -import java.net.*; -import java.util.*; -import de.anomic.kelondro.*; -import de.anomic.tools.*; -import de.anomic.htmlFilter.*; -import de.anomic.http.*; -import de.anomic.server.*; +import java.io.File; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.net.MalformedURLException; +import java.net.URL; +import java.util.Date; +import java.util.LinkedList; +import java.util.TreeMap; + +import de.anomic.htmlFilter.htmlFilterContentScraper; +import de.anomic.http.httpHeader; +import de.anomic.http.httpc; +import de.anomic.kelondro.kelondroDyn; +import de.anomic.kelondro.kelondroMScoreCluster; +import de.anomic.kelondro.kelondroMap; +import de.anomic.server.serverFileUtils; +import de.anomic.server.serverInstantThread; +import de.anomic.server.serverLog; +import de.anomic.tools.enumerateFiles; public final class plasmaHTCache { diff --git a/source/de/anomic/plasma/plasmaParser.java b/source/de/anomic/plasma/plasmaParser.java index 27d5ab5bb..4b41781c0 100644 --- a/source/de/anomic/plasma/plasmaParser.java +++ b/source/de/anomic/plasma/plasmaParser.java @@ -45,17 +45,35 @@ package de.anomic.plasma; -import java.io.*; -import java.net.*; -import java.util.*; +import java.io.ByteArrayOutputStream; +import java.io.File; +import java.io.FileFilter; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.io.FilenameFilter; +import java.io.IOException; +import java.io.OutputStream; +import java.net.MalformedURLException; +import java.net.URI; +import java.net.URL; +import java.util.Arrays; +import java.util.Enumeration; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Hashtable; +import java.util.Iterator; +import java.util.List; +import java.util.Map; +import java.util.Properties; import org.apache.commons.pool.KeyedPoolableObjectFactory; import org.apache.commons.pool.impl.GenericKeyedObjectPool; import org.apache.commons.pool.impl.GenericObjectPool; +import de.anomic.htmlFilter.htmlFilterContentScraper; +import de.anomic.htmlFilter.htmlFilterOutputStream; import de.anomic.plasma.parser.Parser; import de.anomic.server.serverFileUtils; -import de.anomic.htmlFilter.*; public final class plasmaParser { diff --git a/source/de/anomic/plasma/plasmaSearch.java b/source/de/anomic/plasma/plasmaSearch.java index 9f06370ed..98dcbf308 100644 --- a/source/de/anomic/plasma/plasmaSearch.java +++ b/source/de/anomic/plasma/plasmaSearch.java @@ -42,11 +42,20 @@ package de.anomic.plasma; -import java.io.*; -import java.net.*; -import java.util.*; -import de.anomic.server.*; -import de.anomic.kelondro.*; +import java.io.IOException; +import java.net.URL; +import java.util.ArrayList; +import java.util.Date; +import java.util.Enumeration; +import java.util.HashSet; +import java.util.Iterator; +import java.util.Set; +import java.util.TreeMap; + +import de.anomic.kelondro.kelondroException; +import de.anomic.kelondro.kelondroMScoreCluster; +import de.anomic.server.serverCodings; +import de.anomic.server.serverLog; public class plasmaSearch { diff --git a/source/de/anomic/plasma/plasmaStore.java b/source/de/anomic/plasma/plasmaStore.java index 5c673822f..bd3146bda 100644 --- a/source/de/anomic/plasma/plasmaStore.java +++ b/source/de/anomic/plasma/plasmaStore.java @@ -34,8 +34,11 @@ package de.anomic.plasma; -import java.io.*; -import java.util.*; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.RandomAccessFile; public class plasmaStore { diff --git a/source/de/anomic/plasma/plasmaSwitchboard.java b/source/de/anomic/plasma/plasmaSwitchboard.java index ebbaa9d8b..e3776e94e 100644 --- a/source/de/anomic/plasma/plasmaSwitchboard.java +++ b/source/de/anomic/plasma/plasmaSwitchboard.java @@ -100,17 +100,53 @@ package de.anomic.plasma; -import java.io.*; -import java.net.*; -import java.util.*; -import java.text.*; -import de.anomic.server.*; -import de.anomic.tools.*; -import de.anomic.htmlFilter.*; -import de.anomic.yacy.*; -import de.anomic.data.*; -import de.anomic.http.*; -import de.anomic.kelondro.*; +import java.io.BufferedReader; +import java.io.ByteArrayInputStream; +import java.io.File; +import java.io.FileInputStream; +import java.io.IOException; +import java.io.InputStreamReader; +import java.io.OutputStream; +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.HashSet; +import java.util.Iterator; +import java.util.LinkedList; +import java.util.Map; +import java.util.Set; +import java.util.TreeSet; +import java.util.Vector; + +import de.anomic.data.messageBoard; +import de.anomic.data.wikiBoard; +import de.anomic.htmlFilter.htmlFilterContentScraper; +import de.anomic.htmlFilter.htmlFilterOutputStream; +import de.anomic.http.httpHeader; +import de.anomic.http.httpc; +import de.anomic.kelondro.kelondroException; +import de.anomic.kelondro.kelondroMSetTools; +import de.anomic.kelondro.kelondroTables; +import de.anomic.server.serverAbstractSwitch; +import de.anomic.server.serverCodings; +import de.anomic.server.serverCore; +import de.anomic.server.serverDate; +import de.anomic.server.serverFileUtils; +import de.anomic.server.serverInstantThread; +import de.anomic.server.serverLog; +import de.anomic.server.serverObjects; +import de.anomic.server.serverSemaphore; +import de.anomic.server.serverSwitch; +import de.anomic.tools.bitfield; +import de.anomic.tools.crypt; +import de.anomic.yacy.yacyClient; +import de.anomic.yacy.yacyCore; +import de.anomic.yacy.yacySearch; +import de.anomic.yacy.yacySeed; +import de.anomic.yacy.yacySeedDB; public class plasmaSwitchboard extends serverAbstractSwitch implements serverSwitch { diff --git a/source/de/anomic/plasma/plasmaURL.java b/source/de/anomic/plasma/plasmaURL.java index 0d2155821..040a27e56 100644 --- a/source/de/anomic/plasma/plasmaURL.java +++ b/source/de/anomic/plasma/plasmaURL.java @@ -41,14 +41,18 @@ package de.anomic.plasma; -import java.io.*; -import java.net.*; -import java.util.*; -import java.text.*; -import de.anomic.kelondro.*; -import de.anomic.server.*; -import de.anomic.yacy.*; -import de.anomic.htmlFilter.*; +import java.io.IOException; +import java.net.URL; +import java.text.SimpleDateFormat; +import java.util.HashSet; +import java.util.Iterator; +import java.util.Properties; +import java.util.StringTokenizer; + +import de.anomic.htmlFilter.htmlFilterContentScraper; +import de.anomic.kelondro.kelondroTree; +import de.anomic.server.serverCodings; +import de.anomic.yacy.yacySeedDB; public class plasmaURL { diff --git a/source/de/anomic/plasma/plasmaWordConnotation.java b/source/de/anomic/plasma/plasmaWordConnotation.java index d2b15ce96..eae1d6416 100644 --- a/source/de/anomic/plasma/plasmaWordConnotation.java +++ b/source/de/anomic/plasma/plasmaWordConnotation.java @@ -45,10 +45,12 @@ package de.anomic.plasma; -import de.anomic.kelondro.*; -import de.anomic.server.*; -import java.io.*; -import java.util.*; +import java.io.File; +import java.io.IOException; +import java.util.TreeMap; + +import de.anomic.kelondro.kelondroDynTree; +import de.anomic.server.serverCodings; public class plasmaWordConnotation { diff --git a/source/de/anomic/plasma/plasmaWordIndex.java b/source/de/anomic/plasma/plasmaWordIndex.java index 2816922b2..bab8bea2e 100644 --- a/source/de/anomic/plasma/plasmaWordIndex.java +++ b/source/de/anomic/plasma/plasmaWordIndex.java @@ -45,10 +45,16 @@ package de.anomic.plasma; -import java.io.*; -import java.util.*; -import de.anomic.yacy.*; -import de.anomic.kelondro.*; +import java.io.File; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Comparator; +import java.util.HashSet; +import java.util.Iterator; +import java.util.TreeSet; + +import de.anomic.kelondro.kelondroMSetTools; +import de.anomic.yacy.yacySeedDB; public class plasmaWordIndex { diff --git a/source/de/anomic/plasma/plasmaWordIndexEntity.java b/source/de/anomic/plasma/plasmaWordIndexEntity.java index 4b414d00e..8d9adf656 100644 --- a/source/de/anomic/plasma/plasmaWordIndexEntity.java +++ b/source/de/anomic/plasma/plasmaWordIndexEntity.java @@ -41,9 +41,14 @@ package de.anomic.plasma; -import java.io.*; -import java.util.*; -import de.anomic.kelondro.*; +import java.io.File; +import java.io.IOException; +import java.util.Enumeration; +import java.util.Iterator; +import java.util.TreeMap; + +import de.anomic.kelondro.kelondroRecords; +import de.anomic.kelondro.kelondroTree; public class plasmaWordIndexEntity { diff --git a/source/de/anomic/plasma/plasmaWordIndexEntry.java b/source/de/anomic/plasma/plasmaWordIndexEntry.java index ff13479f5..3dcf3f0d2 100644 --- a/source/de/anomic/plasma/plasmaWordIndexEntry.java +++ b/source/de/anomic/plasma/plasmaWordIndexEntry.java @@ -45,10 +45,11 @@ package de.anomic.plasma; -import java.net.*; -import java.util.*; -import de.anomic.yacy.*; -import de.anomic.server.*; +import java.net.URL; +import java.util.Properties; + +import de.anomic.server.serverCodings; +import de.anomic.yacy.yacySeedDB; public class plasmaWordIndexEntry { diff --git a/source/de/anomic/plasma/plasmaWordIndexFileCache.java b/source/de/anomic/plasma/plasmaWordIndexFileCache.java index eefdf8111..e6477a8e7 100644 --- a/source/de/anomic/plasma/plasmaWordIndexFileCache.java +++ b/source/de/anomic/plasma/plasmaWordIndexFileCache.java @@ -60,10 +60,15 @@ package de.anomic.plasma; -import java.io.*; -import java.util.*; -import de.anomic.server.*; -import de.anomic.kelondro.*; +import java.io.File; +import java.io.IOException; +import java.util.HashSet; +import java.util.Iterator; +import java.util.Vector; + +import de.anomic.kelondro.kelondroException; +import de.anomic.kelondro.kelondroTree; +import de.anomic.server.serverLog; public class plasmaWordIndexFileCache { diff --git a/source/de/anomic/plasma/plasmaWordIndexRAMCache.java b/source/de/anomic/plasma/plasmaWordIndexRAMCache.java index dc7505e96..31cbf1099 100644 --- a/source/de/anomic/plasma/plasmaWordIndexRAMCache.java +++ b/source/de/anomic/plasma/plasmaWordIndexRAMCache.java @@ -45,11 +45,15 @@ package de.anomic.plasma; -import java.io.*; -import java.util.*; -import de.anomic.yacy.*; -import de.anomic.server.*; -import de.anomic.kelondro.*; +import java.io.File; +import java.io.IOException; +import java.util.Iterator; +import java.util.TreeMap; +import java.util.Vector; + +import de.anomic.kelondro.kelondroMScoreCluster; +import de.anomic.server.serverLog; +import de.anomic.yacy.yacySeedDB; public class plasmaWordIndexRAMCache extends Thread { diff --git a/source/de/anomic/server/serverAbstractSwitch.java b/source/de/anomic/server/serverAbstractSwitch.java index 9a4ee9555..dbeae093a 100644 --- a/source/de/anomic/server/serverAbstractSwitch.java +++ b/source/de/anomic/server/serverAbstractSwitch.java @@ -40,9 +40,17 @@ package de.anomic.server; -import java.io.*; -import java.net.*; -import java.util.*; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.PrintWriter; +import java.net.InetAddress; +import java.util.Enumeration; +import java.util.Hashtable; +import java.util.Iterator; +import java.util.Properties; +import java.util.TreeMap; public abstract class serverAbstractSwitch implements serverSwitch { diff --git a/source/de/anomic/server/serverByteBuffer.java b/source/de/anomic/server/serverByteBuffer.java index 07ab71251..6d5488385 100644 --- a/source/de/anomic/server/serverByteBuffer.java +++ b/source/de/anomic/server/serverByteBuffer.java @@ -40,8 +40,12 @@ package de.anomic.server; -import java.io.*; -import java.util.*; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.io.OutputStream; +import java.util.Properties; public final class serverByteBuffer extends OutputStream { diff --git a/source/de/anomic/server/serverClassLoader.java b/source/de/anomic/server/serverClassLoader.java index c090d185d..aafb1a122 100644 --- a/source/de/anomic/server/serverClassLoader.java +++ b/source/de/anomic/server/serverClassLoader.java @@ -41,9 +41,9 @@ package de.anomic.server; -import java.io.*; -import java.util.*; -import java.lang.reflect.*; +import java.io.File; +import java.io.IOException; +import java.util.Hashtable; public final class serverClassLoader extends ClassLoader { diff --git a/source/de/anomic/server/serverCodings.java b/source/de/anomic/server/serverCodings.java index 7bcabbb9d..7c6fe51f5 100644 --- a/source/de/anomic/server/serverCodings.java +++ b/source/de/anomic/server/serverCodings.java @@ -40,8 +40,11 @@ package de.anomic.server; -import java.io.*; -import java.security.*; +import java.io.BufferedInputStream; +import java.io.File; +import java.io.FileInputStream; +import java.io.InputStream; +import java.security.MessageDigest; public final class serverCodings { diff --git a/source/de/anomic/server/serverCore.java b/source/de/anomic/server/serverCore.java index c361ff1b0..11b976f7f 100644 --- a/source/de/anomic/server/serverCore.java +++ b/source/de/anomic/server/serverCore.java @@ -43,7 +43,6 @@ package de.anomic.server; // standard server -import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; @@ -56,12 +55,13 @@ import java.net.ServerSocket; import java.net.Socket; import java.net.URL; import java.net.UnknownHostException; +import java.security.KeyStore; import java.util.Hashtable; -// needed for ssl -import javax.net.*; -import javax.net.ssl.*; -import java.security.KeyStore; +import javax.net.ServerSocketFactory; +import javax.net.ssl.KeyManagerFactory; +import javax.net.ssl.SSLContext; +import javax.net.ssl.SSLServerSocketFactory; import org.apache.commons.pool.impl.GenericObjectPool; diff --git a/source/de/anomic/server/serverDate.java b/source/de/anomic/server/serverDate.java index dfa85cc55..ab9bc73de 100644 --- a/source/de/anomic/server/serverDate.java +++ b/source/de/anomic/server/serverDate.java @@ -43,9 +43,12 @@ package de.anomic.server; -import java.lang.*; -import java.util.*; -import java.text.*; +import java.text.SimpleDateFormat; +import java.util.Calendar; +import java.util.Date; +import java.util.GregorianCalendar; +import java.util.Locale; +import java.util.TimeZone; public final class serverDate { diff --git a/source/de/anomic/server/serverFileUtils.java b/source/de/anomic/server/serverFileUtils.java index bba9cf816..99f3a86c2 100644 --- a/source/de/anomic/server/serverFileUtils.java +++ b/source/de/anomic/server/serverFileUtils.java @@ -40,7 +40,14 @@ package de.anomic.server; -import java.io.*; +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStream; public final class serverFileUtils { diff --git a/source/de/anomic/server/serverHandler.java b/source/de/anomic/server/serverHandler.java index f5d0446c2..ebdc70320 100644 --- a/source/de/anomic/server/serverHandler.java +++ b/source/de/anomic/server/serverHandler.java @@ -80,7 +80,6 @@ package de.anomic.server; -import java.io.*; public interface serverHandler { diff --git a/source/de/anomic/server/serverInstantThread.java b/source/de/anomic/server/serverInstantThread.java index 6a0ba2257..87b65551b 100644 --- a/source/de/anomic/server/serverInstantThread.java +++ b/source/de/anomic/server/serverInstantThread.java @@ -1,7 +1,8 @@ package de.anomic.server; -import java.lang.reflect.*; +import java.lang.reflect.InvocationTargetException; +import java.lang.reflect.Method; public final class serverInstantThread extends serverAbstractThread implements serverThread { diff --git a/source/de/anomic/server/serverLog.java b/source/de/anomic/server/serverLog.java index 9489c0032..e1de8a972 100644 --- a/source/de/anomic/server/serverLog.java +++ b/source/de/anomic/server/serverLog.java @@ -40,8 +40,10 @@ package de.anomic.server; -import java.text.*; -import java.util.*; +import java.text.SimpleDateFormat; +import java.util.GregorianCalendar; +import java.util.LinkedList; +import java.util.TimeZone; public final class serverLog { diff --git a/source/de/anomic/server/serverObjects.java b/source/de/anomic/server/serverObjects.java index 50155f2b2..d0b8a36b5 100644 --- a/source/de/anomic/server/serverObjects.java +++ b/source/de/anomic/server/serverObjects.java @@ -57,8 +57,13 @@ package de.anomic.server; -import java.io.*; -import java.util.*; +import java.io.File; +import java.io.FileOutputStream; +import java.io.IOException; +import java.util.Enumeration; +import java.util.Hashtable; +import java.util.Map; +import java.util.Vector; public final class serverObjects extends Hashtable implements Cloneable { diff --git a/source/de/anomic/server/serverSwitch.java b/source/de/anomic/server/serverSwitch.java index a2ce82963..6022e72e0 100644 --- a/source/de/anomic/server/serverSwitch.java +++ b/source/de/anomic/server/serverSwitch.java @@ -46,8 +46,9 @@ package de.anomic.server; -import java.net.*; -import java.util.*; +import java.net.InetAddress; +import java.util.Enumeration; +import java.util.Iterator; public interface serverSwitch { // the root path for the application diff --git a/source/de/anomic/server/serverSystem.java b/source/de/anomic/server/serverSystem.java index 1ef41a234..0eb680d0f 100644 --- a/source/de/anomic/server/serverSystem.java +++ b/source/de/anomic/server/serverSystem.java @@ -40,9 +40,14 @@ package de.anomic.server; -import java.io.*; -import java.util.*; -import java.lang.reflect.*; +import java.io.BufferedReader; +import java.io.File; +import java.io.IOException; +import java.io.InputStreamReader; +import java.lang.reflect.Constructor; +import java.lang.reflect.Method; +import java.util.Hashtable; +import java.util.Properties; public final class serverSystem { diff --git a/source/de/anomic/tools/crypt.java b/source/de/anomic/tools/crypt.java index 28a018134..5168491ba 100644 --- a/source/de/anomic/tools/crypt.java +++ b/source/de/anomic/tools/crypt.java @@ -40,9 +40,11 @@ package de.anomic.tools; -import java.util.*; -import java.text.*; -import de.anomic.server.*; +import java.text.SimpleDateFormat; +import java.util.Locale; +import java.util.Random; + +import de.anomic.server.serverCodings; public class crypt { diff --git a/source/de/anomic/tools/cryptbig.java b/source/de/anomic/tools/cryptbig.java index 5edc9f478..293a31c13 100644 --- a/source/de/anomic/tools/cryptbig.java +++ b/source/de/anomic/tools/cryptbig.java @@ -40,13 +40,38 @@ package de.anomic.tools; -import java.io.*; -import java.util.*; -import javax.crypto.*; -import javax.crypto.spec.*; -import java.security.*; -import java.text.*; -import de.anomic.server.*; +import java.io.BufferedInputStream; +import java.io.BufferedOutputStream; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStream; +import java.io.UnsupportedEncodingException; +import java.security.Provider; +import java.security.Security; +import java.text.ParsePosition; +import java.text.SimpleDateFormat; +import java.util.Date; +import java.util.HashSet; +import java.util.Iterator; +import java.util.Locale; +import java.util.Random; +import java.util.Set; + +import javax.crypto.BadPaddingException; +import javax.crypto.Cipher; +import javax.crypto.CipherInputStream; +import javax.crypto.CipherOutputStream; +import javax.crypto.IllegalBlockSizeException; +import javax.crypto.SecretKey; +import javax.crypto.SecretKeyFactory; +import javax.crypto.spec.PBEKeySpec; +import javax.crypto.spec.PBEParameterSpec; + +import de.anomic.server.serverCodings; public class cryptbig { diff --git a/source/de/anomic/tools/disorderHeap.java b/source/de/anomic/tools/disorderHeap.java index 23cb5a2a6..fe673f3b0 100644 --- a/source/de/anomic/tools/disorderHeap.java +++ b/source/de/anomic/tools/disorderHeap.java @@ -41,7 +41,7 @@ package de.anomic.tools; -import java.util.*; +import java.util.LinkedList; public class disorderHeap { diff --git a/source/de/anomic/tools/disorderSet.java b/source/de/anomic/tools/disorderSet.java index 5ba0a4ac0..e53280bf0 100644 --- a/source/de/anomic/tools/disorderSet.java +++ b/source/de/anomic/tools/disorderSet.java @@ -41,7 +41,9 @@ package de.anomic.tools; -import java.util.*; +import java.util.HashSet; +import java.util.Iterator; +import java.util.Set; public class disorderSet extends HashSet implements Set { diff --git a/source/de/anomic/tools/enumerateFiles.java b/source/de/anomic/tools/enumerateFiles.java index 81ba4d8c8..4adf5b007 100644 --- a/source/de/anomic/tools/enumerateFiles.java +++ b/source/de/anomic/tools/enumerateFiles.java @@ -40,8 +40,10 @@ package de.anomic.tools; -import java.io.*; -import java.util.*; +import java.io.File; +import java.util.ArrayList; +import java.util.Enumeration; +import java.util.TreeSet; public class enumerateFiles implements Enumeration { diff --git a/source/de/anomic/tools/gzip.java b/source/de/anomic/tools/gzip.java index 854558432..102ec5c8f 100644 --- a/source/de/anomic/tools/gzip.java +++ b/source/de/anomic/tools/gzip.java @@ -40,8 +40,18 @@ package de.anomic.tools; -import java.io.*; -import java.util.zip.*; +import java.io.BufferedInputStream; +import java.io.BufferedOutputStream; +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStream; +import java.util.zip.GZIPInputStream; +import java.util.zip.GZIPOutputStream; public class gzip { diff --git a/source/de/anomic/tools/htmlPlotter.java b/source/de/anomic/tools/htmlPlotter.java index 7f3e7972c..15db1f5ca 100644 --- a/source/de/anomic/tools/htmlPlotter.java +++ b/source/de/anomic/tools/htmlPlotter.java @@ -40,8 +40,10 @@ package de.anomic.tools; -import java.io.*; -import de.anomic.server.*; +import java.io.File; +import java.io.IOException; + +import de.anomic.server.serverFileUtils; public class htmlPlotter { diff --git a/source/de/anomic/tools/loaderCore.java b/source/de/anomic/tools/loaderCore.java index 566bbae9e..514cf44e8 100644 --- a/source/de/anomic/tools/loaderCore.java +++ b/source/de/anomic/tools/loaderCore.java @@ -41,7 +41,8 @@ package de.anomic.tools; -import java.util.*; +import java.util.Properties; +import java.util.Vector; public abstract class loaderCore implements loaderProcess { diff --git a/source/de/anomic/tools/loaderProcess.java b/source/de/anomic/tools/loaderProcess.java index d371bc6aa..b4cfa09aa 100644 --- a/source/de/anomic/tools/loaderProcess.java +++ b/source/de/anomic/tools/loaderProcess.java @@ -41,7 +41,8 @@ package de.anomic.tools; -import java.util.*; +import java.util.Properties; +import java.util.Vector; public interface loaderProcess { diff --git a/source/de/anomic/tools/loaderThreads.java b/source/de/anomic/tools/loaderThreads.java index e6cf12235..b4c901af1 100644 --- a/source/de/anomic/tools/loaderThreads.java +++ b/source/de/anomic/tools/loaderThreads.java @@ -40,10 +40,12 @@ package de.anomic.tools; -import java.io.*; -import java.net.*; -import java.util.*; -import de.anomic.http.*; +import java.net.MalformedURLException; +import java.net.URL; +import java.util.Hashtable; +import java.util.Vector; + +import de.anomic.http.httpc; public class loaderThreads { diff --git a/source/de/anomic/tools/nxTools.java b/source/de/anomic/tools/nxTools.java index 80149215e..71f7f2cd9 100644 --- a/source/de/anomic/tools/nxTools.java +++ b/source/de/anomic/tools/nxTools.java @@ -40,7 +40,9 @@ package de.anomic.tools; -import java.util.*; +import java.util.Enumeration; +import java.util.HashMap; +import java.util.Vector; public class nxTools { diff --git a/source/de/anomic/yacy/yacyClient.java b/source/de/anomic/yacy/yacyClient.java index 4fd6ad872..2bac836d5 100644 --- a/source/de/anomic/yacy/yacyClient.java +++ b/source/de/anomic/yacy/yacyClient.java @@ -40,14 +40,25 @@ package de.anomic.yacy; -import java.io.*; -import java.util.*; -import java.net.*; -import de.anomic.tools.*; -import de.anomic.plasma.*; -import de.anomic.net.*; -import de.anomic.http.*; -import de.anomic.server.*; +import java.io.IOException; +import java.net.URL; +import java.util.Date; +import java.util.Enumeration; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Iterator; +import java.util.Vector; + +import de.anomic.http.httpc; +import de.anomic.plasma.plasmaCrawlLURL; +import de.anomic.plasma.plasmaSearch; +import de.anomic.plasma.plasmaSwitchboard; +import de.anomic.plasma.plasmaWordIndexEntity; +import de.anomic.plasma.plasmaWordIndexEntry; +import de.anomic.server.serverCore; +import de.anomic.server.serverObjects; +import de.anomic.tools.crypt; +import de.anomic.tools.nxTools; public class yacyClient { diff --git a/source/de/anomic/yacy/yacyCore.java b/source/de/anomic/yacy/yacyCore.java index 2adf998fe..afdecfd8b 100644 --- a/source/de/anomic/yacy/yacyCore.java +++ b/source/de/anomic/yacy/yacyCore.java @@ -55,15 +55,21 @@ package de.anomic.yacy; -import java.io.*; -import java.util.*; -import java.text.*; -import java.net.*; -import de.anomic.tools.*; -import de.anomic.plasma.*; -import de.anomic.server.*; -import de.anomic.net.*; -import de.anomic.http.*; +import java.io.File; +import java.io.IOException; +import java.net.MalformedURLException; +import java.net.URL; +import java.text.SimpleDateFormat; +import java.util.Date; +import java.util.GregorianCalendar; +import java.util.TimeZone; +import java.util.Vector; + +import de.anomic.http.httpc; +import de.anomic.net.natLib; +import de.anomic.plasma.plasmaSwitchboard; +import de.anomic.server.serverLog; +import de.anomic.server.serverSwitch; public class yacyCore { diff --git a/source/de/anomic/yacy/yacyDHTAction.java b/source/de/anomic/yacy/yacyDHTAction.java index 0308c4b68..7571d96bf 100644 --- a/source/de/anomic/yacy/yacyDHTAction.java +++ b/source/de/anomic/yacy/yacyDHTAction.java @@ -40,8 +40,10 @@ package de.anomic.yacy; -import java.util.*; -import de.anomic.kelondro.*; +import java.util.Enumeration; + +import de.anomic.kelondro.kelondroException; +import de.anomic.kelondro.kelondroMScoreCluster; public class yacyDHTAction implements yacyPeerAction { diff --git a/source/de/anomic/yacy/yacyPeerActions.java b/source/de/anomic/yacy/yacyPeerActions.java index 503086ad8..8126f6215 100644 --- a/source/de/anomic/yacy/yacyPeerActions.java +++ b/source/de/anomic/yacy/yacyPeerActions.java @@ -40,15 +40,24 @@ package de.anomic.yacy; -import java.io.*; -import java.util.*; -import de.anomic.server.*; -import de.anomic.plasma.*; +import java.io.BufferedReader; +import java.io.File; +import java.io.FileInputStream; +import java.io.IOException; +import java.io.InputStreamReader; +import java.net.URL; +import java.util.Date; +import java.util.Enumeration; +import java.util.HashSet; +import java.util.Iterator; +import java.util.Vector; -import java.net.*; -import de.anomic.kelondro.*; -import de.anomic.tools.*; -import de.anomic.http.*; +import de.anomic.http.httpHeader; +import de.anomic.http.httpc; +import de.anomic.plasma.plasmaSwitchboard; +import de.anomic.server.serverCore; +import de.anomic.server.serverSystem; +import de.anomic.tools.disorderSet; public class yacyPeerActions { diff --git a/source/de/anomic/yacy/yacySearch.java b/source/de/anomic/yacy/yacySearch.java index 999254eed..0fad12a65 100644 --- a/source/de/anomic/yacy/yacySearch.java +++ b/source/de/anomic/yacy/yacySearch.java @@ -40,12 +40,13 @@ package de.anomic.yacy; -import java.io.*; -import java.util.*; -import de.anomic.plasma.*; -import de.anomic.server.*; -import de.anomic.kelondro.*; -import de.anomic.htmlFilter.*; +import java.util.Enumeration; +import java.util.Iterator; +import java.util.Set; + +import de.anomic.kelondro.kelondroMScoreCluster; +import de.anomic.plasma.plasmaCrawlLURL; +import de.anomic.plasma.plasmaSearch; public class yacySearch extends Thread { diff --git a/source/de/anomic/yacy/yacySeed.java b/source/de/anomic/yacy/yacySeed.java index e5d477895..f9076694c 100644 --- a/source/de/anomic/yacy/yacySeed.java +++ b/source/de/anomic/yacy/yacySeed.java @@ -59,14 +59,21 @@ package de.anomic.yacy; -import java.io.*; -import java.util.*; -import java.text.*; -import de.anomic.tools.*; -import de.anomic.server.*; -import de.anomic.plasma.*; -import de.anomic.net.*; -import de.anomic.yacy.*; +import java.io.File; +import java.io.FileReader; +import java.io.FileWriter; +import java.io.IOException; +import java.util.Date; +import java.util.HashMap; +import java.util.Map; +import java.util.Properties; +import java.util.StringTokenizer; + +import de.anomic.net.natLib; +import de.anomic.plasma.plasmaSwitchboard; +import de.anomic.server.serverCodings; +import de.anomic.tools.bitfield; +import de.anomic.tools.crypt; public class yacySeed { diff --git a/source/de/anomic/yacy/yacySeedDB.java b/source/de/anomic/yacy/yacySeedDB.java index 2d6764312..b94f0c8e0 100644 --- a/source/de/anomic/yacy/yacySeedDB.java +++ b/source/de/anomic/yacy/yacySeedDB.java @@ -40,15 +40,27 @@ package de.anomic.yacy; -import java.io.*; -import java.util.*; -import java.net.*; -import de.anomic.kelondro.*; -import de.anomic.tools.*; -import de.anomic.http.*; -import de.anomic.server.*; -import de.anomic.net.*; -import de.anomic.plasma.*; +import java.io.File; +import java.io.FileWriter; +import java.io.IOException; +import java.io.PrintWriter; +import java.net.URL; +import java.util.Enumeration; +import java.util.HashSet; +import java.util.Hashtable; +import java.util.Iterator; +import java.util.Map; +import java.util.Vector; + +import de.anomic.http.httpc; +import de.anomic.kelondro.kelondroDyn; +import de.anomic.kelondro.kelondroException; +import de.anomic.kelondro.kelondroMScoreCluster; +import de.anomic.kelondro.kelondroMap; +import de.anomic.net.ftpc; +import de.anomic.plasma.plasmaSwitchboard; +import de.anomic.server.serverCore; +import de.anomic.tools.disorderHeap; public class yacySeedDB { diff --git a/source/yacy.java b/source/yacy.java index fbcec17d5..6eb6f59f2 100644 --- a/source/yacy.java +++ b/source/yacy.java @@ -64,15 +64,40 @@ */ -import java.io.*; -import java.net.*; -import java.util.*; -import de.anomic.http.*; -import de.anomic.plasma.*; -import de.anomic.kelondro.*; -import de.anomic.tools.*; -import de.anomic.server.*; -import de.anomic.yacy.*; +import java.io.BufferedReader; +import java.io.BufferedWriter; +import java.io.ByteArrayOutputStream; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.FileWriter; +import java.io.IOException; +import java.io.InputStreamReader; +import java.io.PrintWriter; +import java.net.URL; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Iterator; +import java.util.Properties; +import java.util.TreeSet; + +import de.anomic.http.httpHeader; +import de.anomic.http.httpc; +import de.anomic.http.httpd; +import de.anomic.http.httpdFileHandler; +import de.anomic.http.httpdProxyHandler; +import de.anomic.kelondro.kelondroMScoreCluster; +import de.anomic.plasma.plasmaSwitchboard; +import de.anomic.plasma.plasmaURL; +import de.anomic.plasma.plasmaWordIndexEntity; +import de.anomic.plasma.plasmaWordIndexEntry; +import de.anomic.server.serverCodings; +import de.anomic.server.serverCore; +import de.anomic.server.serverFileUtils; +import de.anomic.server.serverLog; +import de.anomic.server.serverSystem; +import de.anomic.tools.enumerateFiles; +import de.anomic.yacy.yacyCore; //import de.anomic.http.*; public final class yacy {