tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1073320 - /tomcat/trunk/java/org/apache/jasper/runtime/PageContextImpl.java
Date Tue, 22 Feb 2011 12:55:57 GMT
Author: markt
Date: Tue Feb 22 12:55:56 2011
New Revision: 1073320

URL: http://svn.apache.org/viewvc?rev=1073320&view=rev
Log:
Remove unused code, fix FindBugs warning

Modified:
    tomcat/trunk/java/org/apache/jasper/runtime/PageContextImpl.java

Modified: tomcat/trunk/java/org/apache/jasper/runtime/PageContextImpl.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/runtime/PageContextImpl.java?rev=1073320&r1=1073319&r2=1073320&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/runtime/PageContextImpl.java (original)
+++ tomcat/trunk/java/org/apache/jasper/runtime/PageContextImpl.java Tue Feb 22 12:55:56 2011
@@ -424,7 +424,7 @@ public class PageContextImpl extends Pag
                     .doPrivileged(new PrivilegedAction<Integer>() {
                         @Override
                         public Integer run() {
-                            return new Integer(doGetAttributeScope(name));
+                            return Integer.valueOf(doGetAttributeScope(name));
                         }
                     })).intValue();
         } else {
@@ -587,10 +587,6 @@ public class PageContextImpl extends Pag
         return session;
     }
 
-    public Servlet getServlet() {
-        return servlet;
-    }
-
     @Override
     public ServletConfig getServletConfig() {
         return config;



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message