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:
@ -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";
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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()
|
||||
|
@ -32,4 +32,9 @@ package org.owasp.webgoat.session;
|
||||
public class UnauthenticatedException extends Exception
|
||||
{
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 97865025446819061L;
|
||||
|
||||
}
|
||||
|
@ -32,4 +32,9 @@ package org.owasp.webgoat.session;
|
||||
public class UnauthorizedException extends Exception
|
||||
{
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 5245519486798464814L;
|
||||
|
||||
}
|
||||
|
@ -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();
|
||||
}
|
||||
|
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user