tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/core Container.java
Date Fri, 03 Aug 2001 02:41:29 GMT
costin      01/08/02 19:41:29

  Modified:    src/share/org/apache/tomcat/core Container.java
  Log:
  Make get/setNote final ( like in all other classes ).
  
  Added isSpecial property ( for containers that are not servlet-mappings or
  security constraings - this is supposed to be a generic "properties associated
  with a set of URLs" )
  
  Revision  Changes    Path
  1.52      +12 -2     jakarta-tomcat/src/share/org/apache/tomcat/core/Container.java
  
  Index: Container.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/Container.java,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -r1.51 -r1.52
  --- Container.java	2001/06/28 07:43:03	1.51
  +++ Container.java	2001/08/03 02:41:29	1.52
  @@ -132,6 +132,8 @@
       String roles[]=null;
   
       String methods[]=null;
  +
  +    boolean special=false;
       
       public Container() {
   	initHooks();
  @@ -165,6 +167,14 @@
       public Context getContext() {
   	return context;
       }
  +
  +    public void setSpecial( boolean b ) {
  +	special=b;
  +    }
  +
  +    public boolean isSpecial() {
  +	return special;
  +    }
       
       // -------------------- Mapping LHS --------------------
          
  @@ -365,11 +375,11 @@
   
       /** See ContextManager comments.
        */
  -    public void setNote( int pos, Object value ) {
  +    public final void setNote( int pos, Object value ) {
   	notes[pos]=value;
       }
   
  -    public Object getNote( int pos ) {
  +    public final Object getNote( int pos ) {
   	return notes[pos];
       }
   
  
  
  

Mime
View raw message