Fix some simple FindBugs issues
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 7 Jan 2011 11:02:25 +0000 (11:02 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 7 Jan 2011 11:02:25 +0000 (11:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1056256 13f79535-47bb-0310-9956-ffa450edef68

java/javax/servlet/ServletRequestEvent.java
java/javax/servlet/jsp/tagext/BodyTagSupport.java
java/javax/servlet/jsp/tagext/TagSupport.java

index a8be6cc..4b473b2 100644 (file)
@@ -26,7 +26,7 @@ package javax.servlet;
 public class ServletRequestEvent extends java.util.EventObject {
     private static final long serialVersionUID = 1L;
 
-    private final ServletRequest request;
+    private final transient ServletRequest request;
 
     /**
      * Construct a ServletRequestEvent for the given ServletContext and
index 928234a..740a73b 100644 (file)
@@ -149,5 +149,5 @@ public class BodyTagSupport extends TagSupport implements BodyTag {
     /**
      * The current BodyContent for this BodyTag.
      */
-    protected BodyContent bodyContent;
+    protected transient BodyContent bodyContent;
 }
index 7efb63d..4355e71 100644 (file)
@@ -286,6 +286,6 @@ public class TagSupport implements IterationTag, Serializable {
     /**
      * The PageContext.
      */
-    protected PageContext pageContext;
+    protected transient PageContext pageContext;
 }