cmlenz      2003/07/24 14:43:27

  Modified:    integration/ant/src/java/org/apache/cactus/integration/ant/deployment
                        WebXmlTag.java WebXmlVersion.java
                        ApplicationXmlTag.java ApplicationXmlVersion.java
               integration/ant/src/java/org/apache/cactus/integration/ant/container
                        GenericContainer.java
  Log:
  Away with the redundant final modifiers
  
  Revision  Changes    Path
  1.8       +6 -6      
jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/deployment/WebXmlTag.java
  
  Index: WebXmlTag.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/deployment/WebXmlTag.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- WebXmlTag.java    1 Jul 2003 19:24:35 -0000       1.7
  +++ WebXmlTag.java    24 Jul 2003 21:43:25 -0000      1.8
  @@ -346,7 +346,7 @@
       /**
        * @see java.lang.Object#toString
        */
  -    public final boolean equals(Object theOther)
  +    public boolean equals(Object theOther)
       {
           return super.equals(theOther);
       }
  @@ -354,7 +354,7 @@
       /**
        * @see java.lang.Object#hashCode
        */
  -    public final int hashCode()
  +    public int hashCode()
       {
           return super.hashCode();
       }
  @@ -364,7 +364,7 @@
        * 
        * @return The tag name
        */
  -    public final String getTagName()
  +    public String getTagName()
       {
           return this.tagName;
       }
  @@ -374,7 +374,7 @@
        * 
        * @return Whether multiple occurrences are allowed
        */
  -    public final boolean isMultipleAllowed()
  +    public boolean isMultipleAllowed()
       {
           return this.multipleAllowed;
       }
  @@ -382,7 +382,7 @@
       /**
        * @see java.lang.Object#toString
        */
  -    public final String toString()
  +    public String toString()
       {
           return getTagName();
       }
  
  
  
  1.4       +5 -5      
jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/deployment/WebXmlVersion.java
  
  Index: WebXmlVersion.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/deployment/WebXmlVersion.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- WebXmlVersion.java        26 May 2003 09:52:38 -0000      1.3
  +++ WebXmlVersion.java        24 Jul 2003 21:43:25 -0000      1.4
  @@ -141,7 +141,7 @@
       /**
        * @see java.lang.Object#toString
        */
  -    public final boolean equals(Object theOther)
  +    public boolean equals(Object theOther)
       {
           return super.equals(theOther);
       }
  @@ -149,7 +149,7 @@
       /**
        * @see java.lang.Object#hashCode
        */
  -    public final int hashCode()
  +    public int hashCode()
       {
           return super.hashCode();
       }
  @@ -159,7 +159,7 @@
        * 
        * @return The tag name
        */
  -    public final String getVersion()
  +    public String getVersion()
       {
           return this.version;
       }
  @@ -189,7 +189,7 @@
       /**
        * @see java.lang.Object#toString
        */
  -    public final String toString()
  +    public String toString()
       {
           return getVersion();
       }
  
  
  
  1.3       +5 -5      
jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/deployment/ApplicationXmlTag.java
  
  Index: ApplicationXmlTag.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/deployment/ApplicationXmlTag.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ApplicationXmlTag.java    26 May 2003 09:52:38 -0000      1.2
  +++ ApplicationXmlTag.java    24 Jul 2003 21:43:25 -0000      1.3
  @@ -136,7 +136,7 @@
       /**
        * @see java.lang.Object#toString
        */
  -    public final boolean equals(Object theOther)
  +    public boolean equals(Object theOther)
       {
           return super.equals(theOther);
       }
  @@ -144,7 +144,7 @@
       /**
        * @see java.lang.Object#hashCode
        */
  -    public final int hashCode()
  +    public int hashCode()
       {
           return super.hashCode();
       }
  @@ -154,7 +154,7 @@
        * 
        * @return The tag name
        */
  -    public final String getTagName()
  +    public String getTagName()
       {
           return this.tagName;
       }
  @@ -162,7 +162,7 @@
       /**
        * @see java.lang.Object#toString
        */
  -    public final String toString()
  +    public String toString()
       {
           return getTagName();
       }
  
  
  
  1.4       +5 -5      
jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/deployment/ApplicationXmlVersion.java
  
  Index: ApplicationXmlVersion.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/deployment/ApplicationXmlVersion.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ApplicationXmlVersion.java        26 May 2003 09:52:38 -0000      1.3
  +++ ApplicationXmlVersion.java        24 Jul 2003 21:43:25 -0000      1.4
  @@ -144,7 +144,7 @@
       /**
        * @see java.lang.Object#toString
        */
  -    public final boolean equals(Object theOther)
  +    public boolean equals(Object theOther)
       {
           return super.equals(theOther);
       }
  @@ -152,7 +152,7 @@
       /**
        * @see java.lang.Object#hashCode
        */
  -    public final int hashCode()
  +    public int hashCode()
       {
           return super.hashCode();
       }
  @@ -162,7 +162,7 @@
        * 
        * @return The tag name
        */
  -    public final String getVersion()
  +    public String getVersion()
       {
           return this.version;
       }
  @@ -192,7 +192,7 @@
       /**
        * @see java.lang.Object#toString
        */
  -    public final String toString()
  +    public String toString()
       {
           return getVersion();
       }
  
  
  
  1.7       +9 -9      
jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/container/GenericContainer.java
  
  Index: GenericContainer.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/container/GenericContainer.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- GenericContainer.java     11 Jun 2003 16:17:26 -0000      1.6
  +++ GenericContainer.java     24 Jul 2003 21:43:27 -0000      1.7
  @@ -190,7 +190,7 @@
        * @return The new hook element
        * @throws BuildException If a startup hook has already been added
        */
  -    public final Hook createStartUp() throws BuildException
  +    public Hook createStartUp() throws BuildException
       {
           if (isStartUpSet())
           {
  @@ -207,7 +207,7 @@
        * @return The new hook element
        * @throws BuildException If a shutdown hook has already been added
        */
  -    public final Hook createShutDown() throws BuildException
  +    public Hook createShutDown() throws BuildException
       {
           if (isShutDownSet())
           {
  @@ -245,7 +245,7 @@
        * 
        * @param theName The container name
        */
  -    public final void setName(String theName)
  +    public void setName(String theName)
       {
           this.name = theName;
       }
  @@ -255,7 +255,7 @@
        * 
        * @param thePort The port to set
        */
  -    public final void setPort(int thePort)
  +    public void setPort(int thePort)
       {
           this.port = thePort;
       }
  @@ -297,7 +297,7 @@
       /**
        * @see org.apache.cactus.integration.ant.container.Container#getName
        */
  -    public final String getName()
  +    public String getName()
       {
           return this.name;
       }
  @@ -307,7 +307,7 @@
        * 
        * @return The port
        */
  -    public final int getPort()
  +    public int getPort()
       {
           return this.port;
       }
  @@ -317,7 +317,7 @@
        * 
        * @throws BuildException If thrown by the startup hook
        */
  -    public final void startUp() throws BuildException
  +    public void startUp() throws BuildException
       {
           if (this.startUpHook != null)
           {
  @@ -330,7 +330,7 @@
        * 
        * @throws BuildException If thrown by the shutdown hook
        */
  -    public final void shutDown() throws BuildException
  +    public void shutDown() throws BuildException
       {
           if (this.shutDownHook != null)
           {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to