Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 54238 invoked from network); 10 Jun 2004 19:00:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Jun 2004 19:00:05 -0000 Received: (qmail 57657 invoked by uid 500); 10 Jun 2004 19:00:06 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 57621 invoked by uid 500); 10 Jun 2004 19:00:06 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 57605 invoked by uid 500); 10 Jun 2004 19:00:06 -0000 Received: (qmail 57601 invoked by uid 99); 10 Jun 2004 19:00:06 -0000 Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.27.1) with SMTP; Thu, 10 Jun 2004 12:00:06 -0700 Received: (qmail 54018 invoked by uid 1399); 10 Jun 2004 18:59:48 -0000 Date: 10 Jun 2004 18:59:48 -0000 Message-ID: <20040610185948.54017.qmail@minotaur.apache.org> From: luehe@apache.org To: jakarta-tomcat-catalina-cvs@apache.org Subject: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup Embedded.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N luehe 2004/06/10 11:59:48 Modified: catalina/src/share/org/apache/catalina/core StandardService.java catalina/src/share/org/apache/catalina/startup Embedded.java Log: Removed "debug" instance var and accessor methods from Embedded.java, which now inherits them from superclass Revision Changes Path 1.13 +9 -7 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardService.java Index: StandardService.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardService.java,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- StandardService.java 10 Jun 2004 01:09:03 -0000 1.12 +++ StandardService.java 10 Jun 2004 18:59:48 -0000 1.13 @@ -57,12 +57,6 @@ /** - * The debugging detail level for this component. - */ - private int debug = 0; - - - /** * Descriptive information about this component implementation. */ private static final String info = @@ -99,6 +93,12 @@ /** + * The debugging detail level for this component. + */ + protected int debug = 0; + + + /** * The property change support for this component. */ protected PropertyChangeSupport support = new PropertyChangeSupport(this); @@ -203,8 +203,10 @@ */ public void setDebug(int debug) { + int oldDebug = this.debug; this.debug = debug; - + support.firePropertyChange("debug", new Integer(oldDebug), + new Integer(this.debug)); } 1.16 +1 -32 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/Embedded.java Index: Embedded.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/Embedded.java,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- Embedded.java 10 Jun 2004 18:44:28 -0000 1.15 +++ Embedded.java 10 Jun 2004 18:59:48 -0000 1.16 @@ -145,12 +145,6 @@ /** - * The debugging detail level for this component. - */ - protected int debug = 0; - - - /** * Is naming enabled ? */ protected boolean useNaming = true; @@ -219,31 +213,6 @@ // ------------------------------------------------------------- Properties - - - /** - * Return the debugging detail level for this component. - */ - public int getDebug() { - - return (this.debug); - - } - - - /** - * Set the debugging detail level for this component. - * - * @param debug The new debugging detail level - */ - public void setDebug(int debug) { - - int oldDebug = this.debug; - this.debug = debug; - support.firePropertyChange("debug", new Integer(oldDebug), - new Integer(this.debug)); - - } /** --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org