From 5e165a8150df2d1a603732f451aa61392054dde5 Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Tue, 6 Sep 2016 18:46:24 +0200 Subject: [PATCH] removed unused imports --- htroot/Autocrawl_p.java | 1 - htroot/WebStructurePicture_p.java | 1 - htroot/yacy/search.java | 1 - source/net/yacy/cora/lod/vocabulary/Tagging.java | 1 - source/net/yacy/cora/util/Html2Image.java | 1 - source/net/yacy/crawler/data/CrawlQueues.java | 2 -- source/net/yacy/crawler/retrieval/Response.java | 1 - source/net/yacy/document/TextParser.java | 1 - source/net/yacy/document/parser/sitemapParser.java | 1 - source/net/yacy/document/parser/zipParser.java | 1 - source/net/yacy/peers/Network.java | 2 -- source/net/yacy/repository/Blacklist.java | 1 - test/java/net/yacy/data/wiki/WikiCodeTest.java | 1 - 13 files changed, 15 deletions(-) diff --git a/htroot/Autocrawl_p.java b/htroot/Autocrawl_p.java index 59aa6bc65..27c629a2d 100644 --- a/htroot/Autocrawl_p.java +++ b/htroot/Autocrawl_p.java @@ -1,5 +1,4 @@ import net.yacy.cora.protocol.RequestHeader; -import net.yacy.crawler.data.CrawlProfile.CrawlAttribute; import net.yacy.search.Switchboard; import net.yacy.search.SwitchboardConstants; import net.yacy.server.serverObjects; diff --git a/htroot/WebStructurePicture_p.java b/htroot/WebStructurePicture_p.java index ff548544c..12bf1affa 100644 --- a/htroot/WebStructurePicture_p.java +++ b/htroot/WebStructurePicture_p.java @@ -39,7 +39,6 @@ import net.yacy.cora.order.Base64Order; import net.yacy.cora.protocol.RequestHeader; import net.yacy.cora.sorting.ClusteredScoreMap; import net.yacy.cora.util.CommonPattern; -import net.yacy.cora.util.ConcurrentLog; import net.yacy.peers.graphics.WebStructureGraph; import net.yacy.search.Switchboard; import net.yacy.server.serverObjects; diff --git a/htroot/yacy/search.java b/htroot/yacy/search.java index c208e4282..a2aa9e11c 100644 --- a/htroot/yacy/search.java +++ b/htroot/yacy/search.java @@ -45,7 +45,6 @@ import net.yacy.cora.lod.vocabulary.Tagging; import net.yacy.cora.protocol.Domains; import net.yacy.cora.protocol.HeaderFramework; import net.yacy.cora.protocol.RequestHeader; -import net.yacy.cora.sorting.ConcurrentScoreMap; import net.yacy.cora.sorting.ScoreMap; import net.yacy.cora.sorting.WeakPriorityBlockingQueue; import net.yacy.cora.storage.HandleSet; diff --git a/source/net/yacy/cora/lod/vocabulary/Tagging.java b/source/net/yacy/cora/lod/vocabulary/Tagging.java index 5281c900b..b6afab028 100644 --- a/source/net/yacy/cora/lod/vocabulary/Tagging.java +++ b/source/net/yacy/cora/lod/vocabulary/Tagging.java @@ -37,7 +37,6 @@ import java.util.concurrent.BlockingQueue; import java.util.concurrent.ConcurrentHashMap; import java.util.regex.Pattern; -import net.yacy.cora.document.encoding.UTF8; import net.yacy.cora.geo.GeoLocation; import net.yacy.cora.geo.Locations; import net.yacy.cora.storage.Files; diff --git a/source/net/yacy/cora/util/Html2Image.java b/source/net/yacy/cora/util/Html2Image.java index e6fbad6a2..139d27b25 100644 --- a/source/net/yacy/cora/util/Html2Image.java +++ b/source/net/yacy/cora/util/Html2Image.java @@ -47,7 +47,6 @@ import net.yacy.kelondro.util.FileUtils; import net.yacy.kelondro.util.OS; import org.apache.pdfbox.pdmodel.PDDocument; -import org.apache.pdfbox.pdmodel.PDPage; import org.apache.pdfbox.rendering.ImageType; import org.apache.pdfbox.rendering.PDFRenderer; diff --git a/source/net/yacy/crawler/data/CrawlQueues.java b/source/net/yacy/crawler/data/CrawlQueues.java index 4593c419d..4e272204a 100644 --- a/source/net/yacy/crawler/data/CrawlQueues.java +++ b/source/net/yacy/crawler/data/CrawlQueues.java @@ -29,7 +29,6 @@ package net.yacy.crawler.data; import java.io.File; import java.io.IOException; import java.net.MalformedURLException; -import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; @@ -51,7 +50,6 @@ import net.yacy.cora.document.feed.Hit; import net.yacy.cora.document.feed.RSSFeed; import net.yacy.cora.document.id.DigestURL; import net.yacy.cora.federate.solr.FailCategory; -import net.yacy.cora.federate.solr.connector.SolrConnector; import net.yacy.cora.federate.yacy.CacheStrategy; import net.yacy.cora.order.Base64Order; import net.yacy.cora.protocol.ConnectionInfo; diff --git a/source/net/yacy/crawler/retrieval/Response.java b/source/net/yacy/crawler/retrieval/Response.java index acbcf0641..8a736946a 100644 --- a/source/net/yacy/crawler/retrieval/Response.java +++ b/source/net/yacy/crawler/retrieval/Response.java @@ -32,7 +32,6 @@ import java.util.Date; import net.yacy.cora.document.analysis.Classification; import net.yacy.cora.document.encoding.ASCII; import net.yacy.cora.document.encoding.UTF8; -import net.yacy.cora.document.id.AnchorURL; import net.yacy.cora.document.id.DigestURL; import net.yacy.cora.document.id.MultiProtocolURL; import net.yacy.cora.protocol.HeaderFramework; diff --git a/source/net/yacy/document/TextParser.java b/source/net/yacy/document/TextParser.java index d0b3d286a..f483a0f2c 100644 --- a/source/net/yacy/document/TextParser.java +++ b/source/net/yacy/document/TextParser.java @@ -52,7 +52,6 @@ import net.yacy.document.parser.ooxmlParser; import net.yacy.document.parser.pdfParser; import net.yacy.document.parser.pptParser; import net.yacy.document.parser.psParser; -import net.yacy.document.parser.rdfParser; import net.yacy.document.parser.rssParser; import net.yacy.document.parser.rtfParser; import net.yacy.document.parser.sevenzipParser; diff --git a/source/net/yacy/document/parser/sitemapParser.java b/source/net/yacy/document/parser/sitemapParser.java index 65b1d07b6..9ea66ddb5 100644 --- a/source/net/yacy/document/parser/sitemapParser.java +++ b/source/net/yacy/document/parser/sitemapParser.java @@ -31,7 +31,6 @@ import java.net.MalformedURLException; import java.text.ParseException; import java.util.ArrayList; import java.util.Date; -import java.util.LinkedHashMap; import java.util.List; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.BlockingQueue; diff --git a/source/net/yacy/document/parser/zipParser.java b/source/net/yacy/document/parser/zipParser.java index ab5f800d5..a1a367344 100644 --- a/source/net/yacy/document/parser/zipParser.java +++ b/source/net/yacy/document/parser/zipParser.java @@ -31,7 +31,6 @@ import java.util.Date; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; -import net.yacy.cora.document.id.AnchorURL; import net.yacy.cora.document.id.DigestURL; import net.yacy.cora.document.id.MultiProtocolURL; import net.yacy.document.AbstractParser; diff --git a/source/net/yacy/peers/Network.java b/source/net/yacy/peers/Network.java index ac3cf49ba..79ba206b2 100644 --- a/source/net/yacy/peers/Network.java +++ b/source/net/yacy/peers/Network.java @@ -48,8 +48,6 @@ import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; -import java.util.concurrent.Semaphore; - import net.yacy.cora.date.GenericFormatter; import net.yacy.cora.document.encoding.ASCII; import net.yacy.cora.document.feed.RSSFeed; diff --git a/source/net/yacy/repository/Blacklist.java b/source/net/yacy/repository/Blacklist.java index ce72e689e..116b29934 100644 --- a/source/net/yacy/repository/Blacklist.java +++ b/source/net/yacy/repository/Blacklist.java @@ -33,7 +33,6 @@ import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.PrintWriter; -import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; diff --git a/test/java/net/yacy/data/wiki/WikiCodeTest.java b/test/java/net/yacy/data/wiki/WikiCodeTest.java index ca110fb9a..ef25bf7ee 100644 --- a/test/java/net/yacy/data/wiki/WikiCodeTest.java +++ b/test/java/net/yacy/data/wiki/WikiCodeTest.java @@ -1,6 +1,5 @@ package net.yacy.data.wiki; -import java.io.BufferedReader; import org.junit.Test; import static org.junit.Assert.*;