tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5 CoyoteConnector.java
Date Sun, 27 Apr 2003 20:38:08 GMT
luehe       2003/04/27 13:38:08

  Modified:    catalina/src/share/org/apache/coyote/tomcat5
                        CoyoteConnector.java
  Log:
  Removed Exception declarations from getKeystorePass and
  setKeystorePass methods, since their bodies never throw any
  
  Revision  Changes    Path
  1.5       +4 -11     jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/CoyoteConnector.java
  
  Index: CoyoteConnector.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/CoyoteConnector.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- CoyoteConnector.java	23 Apr 2003 16:14:13 -0000	1.4
  +++ CoyoteConnector.java	27 Apr 2003 20:38:08 -0000	1.5
  @@ -1325,12 +1325,8 @@
   
       /**
        * Return keystorePass
  -     *
  -     * @exception Exception if an MBean cannot be created or registered
        */
  -    public String getKeystorePass()
  -        throws Exception
  -    {
  +    public String getKeystorePass() {
           ServerSocketFactory factory = getFactory();
           if( factory instanceof CoyoteServerSocketFactory ) {
               return ((CoyoteServerSocketFactory)factory).getKeystorePass();
  @@ -1341,17 +1337,14 @@
   
       /**
        * Set keystorePass
  -     *
  -     * @exception Exception if an MBean cannot be created or registered
        */
  -    public void setKeystorePass(String keystorePass)
  -        throws Exception
  -    {
  +    public void setKeystorePass(String keystorePass) {
           ServerSocketFactory factory = getFactory();
           if( factory instanceof CoyoteServerSocketFactory ) {
               ((CoyoteServerSocketFactory)factory).setKeystorePass(keystorePass);
           }
       }
  +
       // -------------------- JMX registration  --------------------
       protected String domain;
       protected ObjectName oname;
  
  
  

---------------------------------------------------------------------
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