Add automatically generated serialVersionUID to silence warnings

git-svn-id: http://webgoat.googlecode.com/svn/trunk@186 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
rogan.dawes 2007-07-18 13:32:08 +00:00
parent d709ff9506
commit 4a70fdac26
11 changed files with 63 additions and 4 deletions

View File

@ -47,6 +47,11 @@ public class Catcher extends HammerHead
{
/**
*
*/
private static final long serialVersionUID = 7441856110845727651L;
/**
* Description of the Field
*/
public final static String START_SOURCE_SKIP = "START_OMIT_SOURCE";

View File

@ -63,6 +63,11 @@ public class HammerHead extends HttpServlet
{
/**
*
*/
private static final long serialVersionUID = 645640331343188020L;
/**
* Description of the Field
*/
protected static SimpleDateFormat httpDateFormat;

View File

@ -47,6 +47,11 @@ public class LessonSource extends HammerHead
{
/**
*
*/
private static final long serialVersionUID = 2588430536196446145L;
/**
* Description of the Field
*/
public final static String START_SOURCE_SKIP = "START_OMIT_SOURCE";

View File

@ -34,7 +34,12 @@ import java.io.Serializable;
public class Employee implements Serializable
{
public final static String EMPLOYEE_ROLE = "employee";
/**
*
*/
private static final long serialVersionUID = -1901957360367218399L;
public final static String EMPLOYEE_ROLE = "employee";
public final static String MANAGER_ROLE = "manager";

View File

@ -34,7 +34,12 @@ import java.io.Serializable;
public class EmployeeStub implements Serializable
{
private int id;
/**
*
*/
private static final long serialVersionUID = -7109162877797765632L;
private int id;
private String firstName;

View File

@ -35,6 +35,12 @@ public class ParameterNotFoundException extends Exception
{
/**
*
*/
private static final long serialVersionUID = 3286112913299408382L;
/**
* Constructs a new ParameterNotFoundException with no detail message.
*/
public ParameterNotFoundException()

View File

@ -32,4 +32,9 @@ package org.owasp.webgoat.session;
public class UnauthenticatedException extends Exception
{
/**
*
*/
private static final long serialVersionUID = 97865025446819061L;
}

View File

@ -32,4 +32,9 @@ package org.owasp.webgoat.session;
public class UnauthorizedException extends Exception
{
/**
*
*/
private static final long serialVersionUID = 5245519486798464814L;
}

View File

@ -32,7 +32,13 @@ package org.owasp.webgoat.session;
public class ValidationException extends Exception
{
public ValidationException()
/**
*
*/
private static final long serialVersionUID = -8358754606830400708L;
public ValidationException()
{
super();
}

View File

@ -36,7 +36,13 @@ import java.util.Properties;
public class WebgoatProperties extends Properties
{
public WebgoatProperties(String propertiesFileName) throws IOException
/**
*
*/
private static final long serialVersionUID = 4351681705558227918L;
public WebgoatProperties(String propertiesFileName) throws IOException
{
try
{

View File

@ -35,6 +35,12 @@ public class ExecutionException extends Exception
{
/**
*
*/
private static final long serialVersionUID = 7282947463831152092L;
/**
* Constructor for the ExecutionException object
*/
public ExecutionException()