avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: avalon-phoenix/src/java/org/apache/avalon/phoenix/components/configuration ConfigurationKey.java
Date Fri, 04 Apr 2003 10:58:40 GMT
donaldp     2003/04/04 02:58:40

  Modified:    src/java/org/apache/avalon/phoenix/components/configuration
                        ConfigurationKey.java
  Log:
  Remove some uneeded this. prefixes.
  
  Revision  Changes    Path
  1.5       +4 -5      avalon-phoenix/src/java/org/apache/avalon/phoenix/components/configuration/ConfigurationKey.java
  
  Index: ConfigurationKey.java
  ===================================================================
  RCS file: /home/cvs/avalon-phoenix/src/java/org/apache/avalon/phoenix/components/configuration/ConfigurationKey.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ConfigurationKey.java	22 Mar 2003 11:37:16 -0000	1.4
  +++ ConfigurationKey.java	4 Apr 2003 10:58:40 -0000	1.5
  @@ -53,7 +53,6 @@
   final class ConfigurationKey
   {
       private final String m_application;
  -
       private final String m_block;
   
       public ConfigurationKey( final String application, final String block )
  @@ -64,7 +63,7 @@
   
       public int hashCode()
       {
  -        return this.getApplication().hashCode() + this.getBlock().hashCode();
  +        return getApplication().hashCode() + getBlock().hashCode();
       }
   
       public boolean equals( final Object obj )
  @@ -72,9 +71,9 @@
           if( obj instanceof ConfigurationKey )
           {
               final ConfigurationKey key = (ConfigurationKey)obj;
  -
  -            return this.getApplication().equals( key.getApplication() )
  -                && this.getBlock().equals( key.getBlock() );
  +            return
  +                getApplication().equals( key.getApplication() ) &&
  +                getBlock().equals( key.getBlock() );
           }
           else
           {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message