1
0

Add missing serial version ID (generated).

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1448307 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory
2013-02-20 17:19:20 +00:00
parent d5bfa165c9
commit 11722ff630
5 changed files with 25 additions and 0 deletions

View File

@@ -21,6 +21,11 @@ import java.util.Hashtable;
public class AltHashtable extends Hashtable { public class AltHashtable extends Hashtable {
/**
* Generated serial version ID.
*/
private static final long serialVersionUID = 8927996458633688095L;
public static Object lastKey; public static Object lastKey;
public static Object lastValue; public static Object lastValue;

View File

@@ -48,6 +48,11 @@ public class SecurityAllowedTestCase extends TestCase
// Dummy special hashtable, so we can tell JCL to use this instead of // Dummy special hashtable, so we can tell JCL to use this instead of
// the standard one. // the standard one.
public static class CustomHashtable extends Hashtable { public static class CustomHashtable extends Hashtable {
/**
* Generated serial version ID.
*/
private static final long serialVersionUID = 8941017300059246720L;
} }
/** /**

View File

@@ -51,6 +51,11 @@ public class SecurityForbiddenTestCase extends TestCase
// Dummy special hashtable, so we can tell JCL to use this instead of // Dummy special hashtable, so we can tell JCL to use this instead of
// the standard one. // the standard one.
public static class CustomHashtable extends Hashtable { public static class CustomHashtable extends Hashtable {
/**
* Generated serial version ID.
*/
private static final long serialVersionUID = 7224652794746236024L;
} }
/** /**

View File

@@ -35,6 +35,11 @@ public class DecoratedSimpleLog extends SimpleLog {
// ------------------------------------------------------------ Constructor // ------------------------------------------------------------ Constructor
/**
* Generated serial version ID.
*/
private static final long serialVersionUID = 196544280770017153L;
public DecoratedSimpleLog(String name) { public DecoratedSimpleLog(String name) {
super(name); super(name);
} }

View File

@@ -25,6 +25,11 @@ import java.io.Serializable;
public class LogRecord implements Serializable { public class LogRecord implements Serializable {
/**
* Generated serial version ID.
*/
private static final long serialVersionUID = -5254831759209770665L;
public LogRecord(int type, Object message, Throwable t) { public LogRecord(int type, Object message, Throwable t) {
this.type = type; this.type = type;
this.message = message; this.message = message;