tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector CoyoteOutputStream.java RequestFacade.java CoyoteInputStream.java ResponseFacade.java CoyoteWriter.java CoyoteReader.java
Date Fri, 29 Apr 2005 22:22:29 GMT
remm        2005/04/29 15:22:29

  Modified:    catalina/src/share/org/apache/catalina/connector
                        CoyoteOutputStream.java RequestFacade.java
                        CoyoteInputStream.java ResponseFacade.java
                        CoyoteWriter.java CoyoteReader.java
  Log:
  - Prevent cloning of facade objects.
  
  Revision  Changes    Path
  1.2       +12 -0     jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/CoyoteOutputStream.java
  
  Index: CoyoteOutputStream.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/CoyoteOutputStream.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CoyoteOutputStream.java	23 Jun 2004 08:24:57 -0000	1.1
  +++ CoyoteOutputStream.java	29 Apr 2005 22:22:29 -0000	1.2
  @@ -45,6 +45,18 @@
       }
   
   
  +    // --------------------------------------------------------- Public Methods
  +
  +
  +    /**
  +     * Prevent cloning the facade.
  +     */
  +    protected Object clone()
  +        throws CloneNotSupportedException {
  +        throw new CloneNotSupportedException();
  +    }
  +
  +
       // -------------------------------------------------------- Package Methods
   
   
  
  
  
  1.9       +10 -1     jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/RequestFacade.java
  
  Index: RequestFacade.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/RequestFacade.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- RequestFacade.java	22 Nov 2004 16:35:18 -0000	1.8
  +++ RequestFacade.java	29 Apr 2005 22:22:29 -0000	1.9
  @@ -237,6 +237,15 @@
           request = null;
       }
   
  +    
  +    /**
  +     * Prevent cloning the facade.
  +     */
  +    protected Object clone()
  +        throws CloneNotSupportedException {
  +        throw new CloneNotSupportedException();
  +    }
  +
   
       // ------------------------------------------------- ServletRequest Methods
   
  
  
  
  1.3       +12 -0     jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/CoyoteInputStream.java
  
  Index: CoyoteInputStream.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/CoyoteInputStream.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CoyoteInputStream.java	22 Nov 2004 16:35:17 -0000	1.2
  +++ CoyoteInputStream.java	29 Apr 2005 22:22:29 -0000	1.3
  @@ -61,6 +61,18 @@
       }
   
   
  +    // --------------------------------------------------------- Public Methods
  +
  +
  +    /**
  +     * Prevent cloning the facade.
  +     */
  +    protected Object clone()
  +        throws CloneNotSupportedException {
  +        throw new CloneNotSupportedException();
  +    }
  +
  +
       // --------------------------------------------- ServletInputStream Methods
   
   
  
  
  
  1.10      +10 -1     jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/ResponseFacade.java
  
  Index: ResponseFacade.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/ResponseFacade.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ResponseFacade.java	22 Nov 2004 16:35:18 -0000	1.9
  +++ ResponseFacade.java	29 Apr 2005 22:22:29 -0000	1.10
  @@ -125,6 +125,15 @@
       }
   
   
  +    /**
  +     * Prevent cloning the facade.
  +     */
  +    protected Object clone()
  +        throws CloneNotSupportedException {
  +        throw new CloneNotSupportedException();
  +    }
  +
  +
       public void finish() {
   
           if (response == null) {
  
  
  
  1.2       +12 -0     jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/CoyoteWriter.java
  
  Index: CoyoteWriter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/CoyoteWriter.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CoyoteWriter.java	23 Jun 2004 08:24:58 -0000	1.1
  +++ CoyoteWriter.java	29 Apr 2005 22:22:29 -0000	1.2
  @@ -51,6 +51,18 @@
       }
   
   
  +    // --------------------------------------------------------- Public Methods
  +
  +
  +    /**
  +     * Prevent cloning the facade.
  +     */
  +    protected Object clone()
  +        throws CloneNotSupportedException {
  +        throw new CloneNotSupportedException();
  +    }
  +
  +
       // -------------------------------------------------------- Package Methods
   
   
  
  
  
  1.2       +12 -0     jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/CoyoteReader.java
  
  Index: CoyoteReader.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/CoyoteReader.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CoyoteReader.java	23 Jun 2004 08:24:58 -0000	1.1
  +++ CoyoteReader.java	29 Apr 2005 22:22:29 -0000	1.2
  @@ -55,6 +55,18 @@
       }
   
   
  +    // --------------------------------------------------------- Public Methods
  +
  +
  +    /**
  +     * Prevent cloning the facade.
  +     */
  +    protected Object clone()
  +        throws CloneNotSupportedException {
  +        throw new CloneNotSupportedException();
  +    }
  +
  +
       // -------------------------------------------------------- Package Methods
   
   
  
  
  

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


Mime
View raw message