You are viewing a plain text version of this content. The canonical link for it is here.
Posted to servletapi-dev@jakarta.apache.org by da...@locus.apache.org on 2000/10/14 00:44:55 UTC

cvs commit: jakarta-servletapi/src/share/javax/servlet ServletContextAttributeEvent.java

dannyc      00/10/13 15:44:54

  Modified:    src/share/javax/servlet Tag: SERVLET_23_JSP_12
                        ServletContextAttributeEvent.java
  Log:
  fix bug in event class. The value was not being set.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.2   +3 -1      jakarta-servletapi/src/share/javax/servlet/Attic/ServletContextAttributeEvent.java
  
  Index: ServletContextAttributeEvent.java
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi/src/share/javax/servlet/Attic/ServletContextAttributeEvent.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- ServletContextAttributeEvent.java	2000/08/17 01:33:10	1.1.2.1
  +++ ServletContextAttributeEvent.java	2000/10/13 22:44:54	1.1.2.2
  @@ -70,13 +70,15 @@
   
   public class ServletContextAttributeEvent extends ServletContextEvent { 
   	private String name;
  -	private String value;
  +	private Object value;
  +
   	/** Construct a ServletContextAttributeEvent from the given context for the
   	** given attribute name and attribute value. 
   	*/
   	public ServletContextAttributeEvent(ServletContext source, String name, Object value) {
   	    super(source);
   	    this.name = name;
  +	    this.value = value;
   	}
   	
   	/**