mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-24 14:45:56 +00:00
Merge branch 'master' into fetchhttp-hc
Conflicts: modules/src/main/java/org/archive/modules/fetcher/FetchHTTP.java (conflicts are resolved)
This commit is contained in:
@@ -43,6 +43,7 @@ import org.archive.util.ArchiveUtils;
|
||||
* @contributor gojomo
|
||||
*/
|
||||
public class Engine {
|
||||
@SuppressWarnings("unused")
|
||||
private static final long serialVersionUID = 4L;
|
||||
|
||||
final public static String LOGS_DIR_NAME = "logs subdirectory";
|
||||
|
||||
@@ -89,6 +89,7 @@ public abstract class AbstractFrontier
|
||||
ExtractorParameters,
|
||||
CrawlUriReceiver,
|
||||
ApplicationListener<ApplicationEvent> {
|
||||
@SuppressWarnings("unused")
|
||||
private static final long serialVersionUID = 555881755284996860L;
|
||||
private static final Logger logger = Logger
|
||||
.getLogger(AbstractFrontier.class.getName());
|
||||
|
||||
@@ -60,6 +60,7 @@ import com.sleepycat.je.DatabaseException;
|
||||
*/
|
||||
public class BdbFrontier extends WorkQueueFrontier
|
||||
implements Checkpointable, BeanNameAware {
|
||||
@SuppressWarnings("unused")
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private static final Logger logger =
|
||||
|
||||
@@ -59,7 +59,8 @@ import com.sleepycat.util.RuntimeExceptionWrapper;
|
||||
* @author gojomo
|
||||
*/
|
||||
public class BdbMultipleWorkQueues {
|
||||
private static final long serialVersionUID = 1L;
|
||||
@SuppressWarnings("unused")
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private static final Logger LOGGER =
|
||||
Logger.getLogger(BdbMultipleWorkQueues.class.getName());
|
||||
@@ -152,7 +153,6 @@ public class BdbMultipleWorkQueues {
|
||||
boolean verbose)
|
||||
throws DatabaseException {
|
||||
int matches = 0;
|
||||
int tries = 0;
|
||||
ArrayList<String> results = new ArrayList<String>(maxMatches);
|
||||
|
||||
DatabaseEntry key;
|
||||
@@ -183,7 +183,6 @@ public class BdbMultipleWorkQueues {
|
||||
}
|
||||
matches++;
|
||||
}
|
||||
tries++;
|
||||
}
|
||||
result = cursor.getNext(key,value,null);
|
||||
}
|
||||
|
||||
@@ -83,6 +83,7 @@ import com.sleepycat.je.DatabaseException;
|
||||
public abstract class WorkQueueFrontier extends AbstractFrontier
|
||||
implements Closeable,
|
||||
ApplicationContextAware {
|
||||
@SuppressWarnings("unused")
|
||||
private static final long serialVersionUID = 570384305871965843L;
|
||||
|
||||
/**
|
||||
|
||||
@@ -47,6 +47,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
*/
|
||||
public class CandidatesProcessor extends Processor {
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private static final long serialVersionUID = -3L;
|
||||
|
||||
/**
|
||||
|
||||
@@ -54,6 +54,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
* @version $Date$, $Revision$
|
||||
*/
|
||||
public class DispositionProcessor extends Processor {
|
||||
@SuppressWarnings("unused")
|
||||
private static final long serialVersionUID = -1072728147960180091L;
|
||||
private static final Logger logger =
|
||||
Logger.getLogger(DispositionProcessor.class.getName());
|
||||
|
||||
@@ -54,6 +54,7 @@ import org.archive.modules.extractor.Link;
|
||||
*/
|
||||
public class LinksScoper extends Scoper {
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private static final long serialVersionUID = -3L;
|
||||
|
||||
private static Logger LOGGER =
|
||||
|
||||
@@ -45,6 +45,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
@Deprecated
|
||||
public class LowDiskPauseProcessor extends Processor {
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private static final long serialVersionUID = 3L;
|
||||
|
||||
/**
|
||||
|
||||
@@ -43,6 +43,7 @@ import org.archive.modules.deciderules.DecideRule;
|
||||
*/
|
||||
public class SupplementaryLinksScoper extends Scoper {
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private static final long serialVersionUID = -3L;
|
||||
|
||||
private static Logger LOGGER =
|
||||
|
||||
@@ -32,6 +32,7 @@ import org.archive.modules.ProcessResult;
|
||||
* @contributor gojomo
|
||||
*/
|
||||
public class CandidateScoper extends Scoper {
|
||||
@SuppressWarnings("unused")
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
||||
@@ -48,6 +48,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
* @contributor gojomo
|
||||
*/
|
||||
public class FrontierPreparer extends Scoper {
|
||||
@SuppressWarnings("unused")
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
|
||||
@@ -51,6 +51,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
* @author gojomo
|
||||
*/
|
||||
public class PreconditionEnforcer extends Processor {
|
||||
@SuppressWarnings("unused")
|
||||
private static final long serialVersionUID = 3L;
|
||||
private static final Logger logger =
|
||||
Logger.getLogger(PreconditionEnforcer.class.getName());
|
||||
|
||||
@@ -40,6 +40,7 @@ import org.archive.util.TextUtils;
|
||||
*
|
||||
*/
|
||||
public class Preselector extends Scoper {
|
||||
@SuppressWarnings("unused")
|
||||
private static final long serialVersionUID = 3L;
|
||||
|
||||
/**
|
||||
|
||||
@@ -42,6 +42,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
* @version $Date$, $Revision$
|
||||
*/
|
||||
public class QuotaEnforcer extends Processor {
|
||||
@SuppressWarnings("unused")
|
||||
private static final long serialVersionUID = 3L;
|
||||
|
||||
private static final Logger LOGGER =
|
||||
|
||||
@@ -62,6 +62,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
*/
|
||||
public class RuntimeLimitEnforcer extends Processor {
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private static final long serialVersionUID = 3L;
|
||||
|
||||
protected static Logger logger = Logger.getLogger(
|
||||
|
||||
@@ -37,6 +37,7 @@ import st.ata.util.FPGenerator;
|
||||
*/
|
||||
public class HashCrawlMapper extends CrawlMapper {
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private static final long serialVersionUID = 2L;
|
||||
|
||||
protected Frontier frontier;
|
||||
|
||||
@@ -78,6 +78,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
* @version $Date$, $Revision$
|
||||
*/
|
||||
public class LexicalCrawlMapper extends CrawlMapper {
|
||||
@SuppressWarnings("unused")
|
||||
private static final long serialVersionUID = 2L;
|
||||
|
||||
/**
|
||||
|
||||
@@ -62,6 +62,7 @@ public class CrawlerLoggerModule
|
||||
implements
|
||||
UriErrorLoggerModule, Lifecycle, InitializingBean,
|
||||
Checkpointable, SimpleFileLoggerProvider, DisposableBean {
|
||||
@SuppressWarnings("unused")
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
protected ConfigPath path = new ConfigPath(Engine.LOGS_DIR_NAME,"${launchId}/logs");
|
||||
|
||||
@@ -138,6 +138,7 @@ public class StatisticsTracker
|
||||
Runnable,
|
||||
Checkpointable,
|
||||
BeanNameAware {
|
||||
@SuppressWarnings("unused")
|
||||
private static final long serialVersionUID = 5L;
|
||||
|
||||
protected SeedModule seeds;
|
||||
|
||||
@@ -57,6 +57,7 @@ import org.archive.modules.Processor;
|
||||
* @author pjack
|
||||
*/
|
||||
public class KeyWordProcessor extends Processor {
|
||||
@SuppressWarnings("unused")
|
||||
private static final long serialVersionUID = 1L;
|
||||
/**
|
||||
* Regular expression used to detect the presence of a keyword.
|
||||
|
||||
Reference in New Issue
Block a user