You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Daniel Rall <dl...@collab.net> on 2003/01/30 01:13:28 UTC

[PATCH] Remove redundant constructor from StandardSessionFacade

* catalina/src/share/org/apache/catalina/session/StandardSessionFacade.java
  StandardSessionFacade(StandardSession): Removed redundant constructor.  As 
  StandardSession implements HttpSession, the 
  StandardSessionFacade(HttpSession) constructor already does the job 
  admirably.


--- /tmp/jakarta-tomcat-4.1.18-src/catalina/src/share/org/apache/catalina/session/StandardSessionFacade.java	Wed Jan 29 15:56:00 2003
+++ /tmp/StandardSessionFacade.java	Wed Jan 29 15:56:00 2003
@@ -104,15 +104,6 @@
     /**
      * Construct a new session facade.
      */
-    public StandardSessionFacade(StandardSession session) {
-        super();
-        this.session = (HttpSession) session;
-    }
-
-
-    /**
-     * Construct a new session facade.
-     */
     public StandardSessionFacade(HttpSession session) {
         super();
         this.session = session;



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