Added missing serialVersionUID.

This commit is contained in:
Anthony Whitford
2015-09-10 00:05:04 -07:00
parent 5702f39181
commit fde415e251
5 changed files with 22 additions and 0 deletions

View File

@@ -43,6 +43,10 @@ import org.slf4j.LoggerFactory;
*/ */
public class Dependency implements Serializable, Comparable<Dependency> { public class Dependency implements Serializable, Comparable<Dependency> {
/**
* The serial version UID for serialization.
*/
private static final long serialVersionUID = 1L;
/** /**
* The logger. * The logger.
*/ */

View File

@@ -29,6 +29,10 @@ import java.io.Serializable;
*/ */
public class Evidence implements Serializable, Comparable<Evidence> { public class Evidence implements Serializable, Comparable<Evidence> {
/**
* The serial version UID for serialization.
*/
private static final long serialVersionUID = 1L;
/** /**
* Used as starting point for generating the value in {@link #hashCode()}. * Used as starting point for generating the value in {@link #hashCode()}.
*/ */

View File

@@ -39,6 +39,10 @@ import org.slf4j.LoggerFactory;
*/ */
public class EvidenceCollection implements Serializable, Iterable<Evidence> { public class EvidenceCollection implements Serializable, Iterable<Evidence> {
/**
* The serial version UID for serialization.
*/
private static final long serialVersionUID = 1L;
/** /**
* The logger. * The logger.
*/ */

View File

@@ -25,6 +25,11 @@ import java.io.Serializable;
*/ */
public class Identifier implements Serializable, Comparable<Identifier> { public class Identifier implements Serializable, Comparable<Identifier> {
/**
* The serial version UID for serialization.
*/
private static final long serialVersionUID = 1L;
/** /**
* Default constructor. Should only be used for automatic class * Default constructor. Should only be used for automatic class
* creation as is the case with many XML parsers (for the parsing * creation as is the case with many XML parsers (for the parsing

View File

@@ -26,6 +26,11 @@ import java.io.IOException;
*/ */
public class PomParseException extends IOException { public class PomParseException extends IOException {
/**
* The serial version UID for serialization.
*/
private static final long serialVersionUID = 1L;
/** /**
* Creates a new SuppressionParseException. * Creates a new SuppressionParseException.
*/ */