geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject cvs commit: incubator-geronimo/modules/web/src/java/org/apache/geronimo/web AbstractWebContainer.java
Date Sat, 23 Aug 2003 22:06:23 GMT
jboynes     2003/08/23 15:06:23

  Modified:    modules/core/src/java/org/apache/geronimo/common
                        AbstractContainer.java
               modules/web/src/java/org/apache/geronimo/web
                        AbstractWebContainer.java
  Log:
  removeComponent does not need to throw Exception
  
  Revision  Changes    Path
  1.5       +2 -2      incubator-geronimo/modules/core/src/java/org/apache/geronimo/common/AbstractContainer.java
  
  Index: AbstractContainer.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/common/AbstractContainer.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AbstractContainer.java	18 Aug 2003 13:38:52 -0000	1.4
  +++ AbstractContainer.java	23 Aug 2003 22:06:23 -0000	1.5
  @@ -128,7 +128,7 @@
        *
        * @param component the Component to remove
        */
  -    public void removeComponent(Component component) throws Exception {
  +    public void removeComponent(Component component) {
           if (component == null) {
               throw new NullArgumentException("component");
           }
  
  
  
  1.4       +2 -4      incubator-geronimo/modules/web/src/java/org/apache/geronimo/web/AbstractWebContainer.java
  
  Index: AbstractWebContainer.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/web/src/java/org/apache/geronimo/web/AbstractWebContainer.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AbstractWebContainer.java	23 Aug 2003 09:38:04 -0000	1.3
  +++ AbstractWebContainer.java	23 Aug 2003 22:06:23 -0000	1.4
  @@ -129,7 +129,6 @@
       /**
        * Get the URI of the web defaults.
        * @return the location of the default web.xml file for this container
  -     * @see org.apache.geronimo.web.WebContainer#getDefaultWebXmlURL()
        */
       public URI getDefaultWebXmlURI()
       {
  @@ -139,7 +138,6 @@
       /* --------------------------------------------------------------------------------------
*/
       /**Set a uri of a web.xml containing defaults for this container.
        * @param uri the location of the default web.xml file
  -     * @see org.apache.geronimo.web.WebContainer#setDefaultWebXmlURL(java.lang.String)
        */
       public void setDefaultWebXmlURI(URI uri)
       {
  @@ -208,7 +206,7 @@
       /* Remove a component from this container's hierarchy
        * @see org.apache.geronimo.common.Container#removeComponent(org.apache.geronimo.common.Component)
        */
  -    public void removeComponent(Component component) throws Exception
  +    public void removeComponent(Component component)
       {
           if (component instanceof WebConnector)
               webConnectorRemoval((WebConnector)component);
  
  
  

Mime
View raw message