public abstract class GenericServlet implements Servlet, ServletConfig,
java.io.Serializable {
+ private static final long serialVersionUID = 1L;
+
private transient ServletConfig config;
/**
* @since v 2.3
*/
public class ServletContextAttributeEvent extends ServletContextEvent {
+ private static final long serialVersionUID = 1L;
+
private final String name;
private final Object value;
*/
public class ServletContextEvent extends java.util.EventObject {
+ private static final long serialVersionUID = 1L;
+
/**
* Construct a ServletContextEvent from the given context.
*
*/
public class ServletException extends Exception {
+ private static final long serialVersionUID = 1L;
+
/**
* Constructs a new servlet exception.
*/
* @since Servlet 2.4
*/
public class ServletRequestAttributeEvent extends ServletRequestEvent {
+ private static final long serialVersionUID = 1L;
+
private final String name;
private final Object value;
* @since Servlet 2.4
*/
public class ServletRequestEvent extends java.util.EventObject {
+ private static final long serialVersionUID = 1L;
+
private final ServletRequest request;
/**
*/
public class UnavailableException extends ServletException {
+ private static final long serialVersionUID = 1L;
+
private final Servlet servlet; // what's unavailable
private final boolean permanent; // needs admin action?
private final int seconds; // unavailability estimate
*/
public abstract class HttpServlet extends GenericServlet {
+ private static final long serialVersionUID = 1L;
+
private static final String METHOD_DELETE = "DELETE";
private static final String METHOD_HEAD = "HEAD";
private static final String METHOD_GET = "GET";
*/
public class HttpSessionBindingEvent extends HttpSessionEvent {
- /* The name to which the object is being bound or unbound */
+ private static final long serialVersionUID = 1L;
+ /* The name to which the object is being bound or unbound */
private final String name;
/* The object is being bound or unbound */
-
private final Object value;
/**
* @since v 2.3
*/
public class HttpSessionEvent extends java.util.EventObject {
+ private static final long serialVersionUID = 1L;
+
/** Construct a session event from the given source. */
public HttpSessionEvent(HttpSession source) {
super(source);
*/
public class JspException extends Exception {
+ private static final long serialVersionUID = 1L;
+
+
/**
* Construct a JspException.
*/
*/
public class JspTagException extends JspException {
+ private static final long serialVersionUID = 1L;
+
/**
* Constructs a new JspTagException with the specified message. The message
* can be written to the server log and/or displayed for the user.
*/
public class SkipPageException extends JspException {
+ private static final long serialVersionUID = 1L;
+
/**
* Creates a SkipPageException with no message.
*/
@SuppressWarnings("dep-ann") // TCK signature test fails with annotation
public class ELException extends Exception {
+ private static final long serialVersionUID = 1L;
+
/**
* Creates an ELException with no detail message.
**/
@SuppressWarnings("dep-ann") // TCK signature test fails with annotation
public class ELParseException extends ELException {
- //-------------------------------------
+ private static final long serialVersionUID = 1L;
+
+//-------------------------------------
/**
* Creates an ELParseException with no detail message.
*/
*/
public class TagSupport implements IterationTag, Serializable {
+ private static final long serialVersionUID = 1L;
+
/**
* Find the instance of a given class type that is closest to a given
* instance.
*/
public class FileMessage extends ClusterMessageBase {
+ private static final long serialVersionUID = 1L;
+
private int messageNumber;
private byte[] data;
private int dataLength;
import org.apache.catalina.ha.ClusterMessage;
import org.apache.catalina.tribes.Member;
public class UndeployMessage implements ClusterMessage,Serializable {
+ private static final long serialVersionUID = 1L;
+
private Member address;
private long timestamp;
private String uniqueId;
public class StatusManagerServlet
extends HttpServlet implements NotificationListener {
+ private static final long serialVersionUID = 1L;
// ----------------------------------------------------- Instance Variables
-
-
/**
* MBean server.
*/
* @version $Id$
*/
-public class StandardSession
- implements HttpSession, Session, Serializable {
+public class StandardSession implements HttpSession, Session, Serializable {
+
+ private static final long serialVersionUID = 1L;
protected static final boolean STRICT_SERVLET_COMPLIANCE;
* @version $Id$
*/
public class SSIServlet extends HttpServlet {
+ private static final long serialVersionUID = 1L;
+
/** Debug level for this servlet. */
protected int debug = 0;
/** Should the output be buffered. */
* @version $Id$
*/
public class SSIStopProcessingException extends Exception {
+
+ private static final long serialVersionUID = 1L;
// No specific functionality for this class
}
\ No newline at end of file
*/
public class ChannelException extends Exception {
+ private static final long serialVersionUID = 1L;
/**
* Empty list to avoid reinstatiating lists
*/
* @version 1.0
*/
public class RemoteProcessException extends RuntimeException {
+ private static final long serialVersionUID = 1L;
+
public RemoteProcessException() {
super();
}
* @version 1.0
*/
public final class UniqueId implements Serializable{
+ private static final long serialVersionUID = 1L;
+
protected byte[] id;
public UniqueId() {
*
*/
public class ChannelData implements ChannelMessage {
+ private static final long serialVersionUID = 1L;
+
public static final ChannelData[] EMPTY_DATA_ARRAY = new ChannelData[0];
public static volatile boolean USE_SECURE_RANDOM_FOR_UUID = false;
* @version 1.0
*/
public abstract class AbstractReplicatedMap extends ConcurrentHashMap implements RpcCallback, ChannelListener, MembershipListener, Heartbeat {
+ private static final long serialVersionUID = 1L;
+
private static final Log log = LogFactory.getLog(AbstractReplicatedMap.class);
/**
//------------------------------------------------------------------------------
public static class MapMessage implements Serializable {
+ private static final long serialVersionUID = 1L;
public static final int MSG_BACKUP = 1;
public static final int MSG_RETRIEVE_BACKUP = 2;
public static final int MSG_PROXY = 3;
* @version 1.0
*/
public class LazyReplicatedMap extends AbstractReplicatedMap {
+ private static final long serialVersionUID = 1L;
private static final Log log = LogFactory.getLog(LazyReplicatedMap.class);
*/
public class ReplicatedMap extends AbstractReplicatedMap {
-//------------------------------------------------------------------------------
-// CONSTRUCTORS / DESTRUCTORS
-//------------------------------------------------------------------------------
+ private static final long serialVersionUID = 1L;
+
+ //--------------------------------------------------------------------------
+ // CONSTRUCTORS / DESTRUCTORS
+ //--------------------------------------------------------------------------
/**
* Creates a new map
* @param channel The channel to use for communication
// ---------------------------------------------- TaskQueue Inner Class
private static class TaskQueue extends LinkedBlockingQueue<Runnable> {
+ private static final long serialVersionUID = 1L;
+
ThreadPoolExecutor parent = null;
public TaskQueue() {
public final class ParameterMap<K,V> extends HashMap<K,V> {
-
- // ----------------------------------------------------------- Constructors
+ private static final long serialVersionUID = 1L;
+ // ----------------------------------------------------------- Constructors
/**
* Construct a new, empty map with the default initial capacity and
* load factor.
public final class ResourceSet<T> extends HashSet<T> {
+ private static final long serialVersionUID = 1L;
// ----------------------------------------------------------- Constructors
-
-
/**
* Construct a new, empty set with the default initial capacity and
* load factor.
*/
public class JasperException extends javax.servlet.ServletException {
+ private static final long serialVersionUID = 1L;
+
public JasperException(String reason) {
super(reason);
}
* validation is turned off.
*/
private static class EnableDTDValidationException
- extends SAXParseException {
+ extends SAXParseException {
+
+ private static final long serialVersionUID = 1L;
EnableDTDValidationException(String message, Locator loc) {
super(message, loc);
*/
public abstract class HttpJspBase extends HttpServlet implements HttpJspPage {
+ private static final long serialVersionUID = 1L;
+
protected HttpJspBase() {
}
public class LogConfigurationException extends RuntimeException {
+ private static final long serialVersionUID = 1L;
+
+
/**
* Construct a new exception with <code>null</code> as its detail message.
*/
* @version $Id$
*/
-public class EjbRef
- extends Reference {
+public class EjbRef extends Reference {
+ private static final long serialVersionUID = 1L;
+
// -------------------------------------------------------------- Constants
-
-
/**
* Default factory for this reference.
*/
* @author Fabien Carrion
*/
-public class HandlerRef
- extends Reference {
+public class HandlerRef extends Reference {
+ private static final long serialVersionUID = 1L;
+
// -------------------------------------------------------------- Constants
-
-
/**
* Default factory for this reference.
*/
public final class JndiPermission extends BasicPermission {
+ private static final long serialVersionUID = 1L;
+
// ----------------------------------------------------------- Constructors
/**
* @version $Id$
*/
-public class ResourceEnvRef
- extends Reference {
+public class ResourceEnvRef extends Reference {
+ private static final long serialVersionUID = 1L;
// -------------------------------------------------------------- Constants
-
/**
* Default factory for this reference.
*/
* @version $Id$
*/
-public class ResourceLinkRef
- extends Reference {
+public class ResourceLinkRef extends Reference {
+ private static final long serialVersionUID = 1L;
// -------------------------------------------------------------- Constants
-
/**
* Default factory for this reference.
*/
* @author Fabien Carrion
*/
-public class ServiceRef
- extends Reference {
+public class ServiceRef extends Reference {
+ private static final long serialVersionUID = 1L;
// -------------------------------------------------------------- Constants
-
/**
* Default factory for this reference.
*/
* @version $Id$
*/
-public class TransactionRef
- extends Reference {
+public class TransactionRef extends Reference {
+ private static final long serialVersionUID = 1L;
// -------------------------------------------------------------- Constants
-
/**
* Default factory for this reference.
*/
*/
public final class CharChunk implements Cloneable, Serializable, CharSequence {
+ private static final long serialVersionUID = 1L;
+
// Input interface, used when the buffer is emptied.
public static interface CharInputChannel {
/**
* @author Costin Manolache
*/
public final class MessageBytes implements Cloneable, Serializable {
+ private static final long serialVersionUID = 1L;
+
// primary type ( whatever is set as original value )
private int type = T_NULL;
public class BaseAttributeFilter implements NotificationFilter {
+ private static final long serialVersionUID = 1L;
// ----------------------------------------------------------- Constructors
-
/**
* Construct a new filter that accepts only the specified attribute
* name.
*/
public class FixedNotificationFilter implements NotificationFilter {
+ private static final long serialVersionUID = 1L;
/**
* The set of attribute names that are accepted by this filter. If this
* list is empty, all attribute names are accepted.
* @version $Id$
*/
-public class ManagedBean implements java.io.Serializable
-{
+public class ManagedBean implements java.io.Serializable {
+
+ private static final long serialVersionUID = 1L;
+
private static final String BASE_MBEAN = "org.apache.tomcat.util.modeler.BaseModelMBean";
// ----------------------------------------------------- Instance Variables
static final Object[] NO_ARGS_PARAM = new Object[0];
public final class URL implements Serializable {
+ private static final long serialVersionUID = 1L;
+
// ----------------------------------------------------------- Constructors
-
/**
* Create a URL object from the specified String representation.
*
}
}
- public static class SimpleTableDemo
- extends JPanel implements ActionListener{
+ public static class SimpleTableDemo extends JPanel
+ implements ActionListener {
+
+ private static final long serialVersionUID = 1L;
+
private static int WIDTH = 550;
private LazyReplicatedMap map;
AbstractTableModel dataModel = new AbstractTableModel() {
+ private static final long serialVersionUID = 1L;
String[] columnNames = {
"Rownum",
"Key",
static class ColorRenderer extends DefaultTableCellRenderer {
+ private static final long serialVersionUID = 1L;
+
public ColorRenderer() {
super();
}
*/
public class Clock2 extends Applet implements Runnable {
+ private static final long serialVersionUID = 1L;
Thread timer; // The thread that displays clock
int lastxs, lastys, lastxm,
lastym, lastxh, lastyh; // Dimensions used to draw hands