Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suppress unused warnings for serialVersionUid #14

Merged
merged 3 commits into from
Jul 11, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions commons/src/main/java/org/archive/spring/Sheet.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
*
*/
public class Sheet implements BeanFactoryAware, BeanNameAware {
@SuppressWarnings("unused")
private static final long serialVersionUID = 9129011082185864377L;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
* @contributor gojomo
*/
public class Engine {
@SuppressWarnings("unused")
private static final long serialVersionUID = 4L;

final public static String LOGS_DIR_NAME = "logs subdirectory";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
*/
public class BdbFrontier extends WorkQueueFrontier
implements Checkpointable, BeanNameAware {
@SuppressWarnings("unused")
private static final long serialVersionUID = 1L;

private static final Logger logger =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
* @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());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
public abstract class WorkQueueFrontier extends AbstractFrontier
implements Closeable,
ApplicationContextAware {
@SuppressWarnings("unused")
private static final long serialVersionUID = 570384305871965843L;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
*/
public class CandidatesProcessor extends Processor {

@SuppressWarnings("unused")
private static final long serialVersionUID = -3L;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
* @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());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
*/
public class LinksScoper extends Scoper {

@SuppressWarnings("unused")
private static final long serialVersionUID = -3L;

private static Logger LOGGER =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
@Deprecated
public class LowDiskPauseProcessor extends Processor {

@SuppressWarnings("unused")
private static final long serialVersionUID = 3L;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
*/
public class SupplementaryLinksScoper extends Scoper {

@SuppressWarnings("unused")
private static final long serialVersionUID = -3L;

private static Logger LOGGER =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
* @contributor gojomo
*/
public class CandidateScoper extends Scoper {
@SuppressWarnings("unused")
private static final long serialVersionUID = 1L;

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
* @contributor gojomo
*/
public class FrontierPreparer extends Scoper {
@SuppressWarnings("unused")
private static final long serialVersionUID = 1L;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
* @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());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
*
*/
public class Preselector extends Scoper {
@SuppressWarnings("unused")
private static final long serialVersionUID = 3L;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
* @version $Date$, $Revision$
*/
public class QuotaEnforcer extends Processor {
@SuppressWarnings("unused")
private static final long serialVersionUID = 3L;

private static final Logger LOGGER =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
*/
public class RuntimeLimitEnforcer extends Processor {

@SuppressWarnings("unused")
private static final long serialVersionUID = 3L;

protected static Logger logger = Logger.getLogger(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
*/
public class HashCrawlMapper extends CrawlMapper {

@SuppressWarnings("unused")
private static final long serialVersionUID = 2L;

protected Frontier frontier;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
* @version $Date$, $Revision$
*/
public class LexicalCrawlMapper extends CrawlMapper {
@SuppressWarnings("unused")
private static final long serialVersionUID = 2L;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ public class StatisticsTracker
Runnable,
Checkpointable,
BeanNameAware {
@SuppressWarnings("unused")
private static final long serialVersionUID = 5L;

protected SeedModule seeds;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
* @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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
public class ScriptedProcessor extends Processor
implements ApplicationContextAware, InitializingBean {

@SuppressWarnings("unused")
private static final long serialVersionUID = 3L;

private static final Logger logger =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
*/
public class AggressiveExtractorHTML
extends ExtractorHTML {
@SuppressWarnings("unused")
private static final long serialVersionUID = 3L;

protected static Logger logger =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
public class ExtractorCSS extends ContentExtractor {


@SuppressWarnings("unused")
private static final long serialVersionUID = 2L;

private static Logger logger =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
*/
public class ExtractorDOC extends ContentExtractor {

@SuppressWarnings("unused")
private static final long serialVersionUID = 3L;

private static Pattern PATTERN = Pattern.compile("HYPERLINK.*?\"(.*?)\"");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
*/
public class ExtractorHTML extends ContentExtractor implements InitializingBean {

@SuppressWarnings("unused")
private static final long serialVersionUID = 2L;

private static Logger logger =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
*/
public class ExtractorHTTP extends Extractor {

@SuppressWarnings("unused")
private static final long serialVersionUID = 3L;

public ExtractorHTTP() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@

public class ExtractorImpliedURI extends Extractor {

@SuppressWarnings("unused")
private static final long serialVersionUID = 3L;

private static Logger LOGGER =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
*/
public class ExtractorJS extends ContentExtractor {

@SuppressWarnings("unused")
private static final long serialVersionUID = 2L;

private static Logger LOGGER =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
*/
public class ExtractorPDF extends ContentExtractor {

@SuppressWarnings("unused")
private static final long serialVersionUID = 3L;

private static final Logger LOGGER =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
*/
public class ExtractorSWF extends ContentExtractor {

@SuppressWarnings("unused")
private static final long serialVersionUID = 3L;

private static Logger logger =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@

public class ExtractorURI extends Extractor {

@SuppressWarnings("unused")
private static final long serialVersionUID = 3L;

private static Logger LOGGER =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
*/
public class ExtractorUniversal extends ContentExtractor {

@SuppressWarnings("unused")
private static final long serialVersionUID = 3L;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
*/
public class ExtractorXML extends ContentExtractor {

@SuppressWarnings("unused")
private static final long serialVersionUID = 3L;

private static Logger logger =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
*/
public class HTTPContentDigest extends Processor {

@SuppressWarnings("unused")
private static final long serialVersionUID = 3L;

private static Logger logger =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
@SuppressWarnings("unchecked")
public class JerichoExtractorHTML extends ExtractorHTML {

@SuppressWarnings("unused")
private static final long serialVersionUID = 1684681316546343615L;

final private static Logger logger =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
*
*/
public class TrapSuppressExtractor extends ContentExtractor {
@SuppressWarnings("unused")
private static final long serialVersionUID = -1028783453022579530L;

/** ALIst attribute key for carrying-forward content-digest from 'via'*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
* @author pjack
*/
public class BdbCookieStorage extends AbstractCookieStorage implements Checkpointable {
@SuppressWarnings("unused")
private static final long serialVersionUID = 1L;

protected BdbModule bdb;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
*/
public class FetchDNS extends Processor {

@SuppressWarnings("unused")
private static final long serialVersionUID = 3L;

private static Logger logger = Logger.getLogger(FetchDNS.class.getName());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
*
*/
public class FetchFTP extends Processor {
@SuppressWarnings("unused")
private static final long serialVersionUID = 1L;

/** Logger for this class. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
* @version $Id$
*/
public class FetchHTTP extends Processor implements Lifecycle {
@SuppressWarnings("unused")
private static final long serialVersionUID = 1L;
private static Logger logger = Logger.getLogger(FetchHTTP.class.getName());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
public class FetchWhois extends Processor implements CoreAttributeConstants,
FetchStatusCodes, Lifecycle {

@SuppressWarnings("unused")
private static final long serialVersionUID = 1L;

private static Logger logger = Logger.getLogger(FetchWhois.class.getName());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

public class SimpleCookieStorage extends AbstractCookieStorage {

@SuppressWarnings("unused")
private static final long serialVersionUID = 1L;

final private SortedMap<String,Cookie> map = new TreeMap<String,Cookie>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
* @version $Date: 2006-09-25 20:19:54 +0000 (Mon, 25 Sep 2006) $, $Revision: 4654 $
*/
public class FetchHistoryProcessor extends Processor {
@SuppressWarnings("unused")
private static final long serialVersionUID = 1L;

/** Desired history array length. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
* @version $Date: 2006-09-25 20:19:54 +0000 (Mon, 25 Sep 2006) $, $Revision: 4654 $
*/
public class PersistLoadProcessor extends PersistOnlineProcessor {
@SuppressWarnings("unused")
private static final long serialVersionUID = -1917169316015093131L;
private static final Logger logger =
Logger.getLogger(PersistLoadProcessor.class.getName());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
public class PersistLogProcessor extends PersistProcessor
implements Checkpointable, Lifecycle {

@SuppressWarnings("unused")
private static final long serialVersionUID = 1678691994065439346L;

protected CrawlerJournal log;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
public abstract class PersistOnlineProcessor extends PersistProcessor
implements Lifecycle {

@SuppressWarnings("unused")
private static final long serialVersionUID = -666479480942267268L;

protected BdbModule bdb;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
*/
public abstract class PersistProcessor extends AbstractPersistProcessor {

@SuppressWarnings("unused")
private static final long serialVersionUID = 1L;

private static final Logger logger =
Expand Down
Loading