avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon/meta/api/src/java/org/apache/avalon/meta/info Type.java
Date Thu, 08 Apr 2004 05:43:31 GMT
mcconnell    2004/04/07 22:43:31

  Modified:    meta/api/src/java/org/apache/avalon/meta/info Type.java
  Log:
  Fix broken if instanceof test.
  
  Revision  Changes    Path
  1.6       +3 -2      avalon/meta/api/src/java/org/apache/avalon/meta/info/Type.java
  
  Index: Type.java
  ===================================================================
  RCS file: /home/cvs/avalon/meta/api/src/java/org/apache/avalon/meta/info/Type.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Type.java	7 Apr 2004 03:46:44 -0000	1.5
  +++ Type.java	8 Apr 2004 05:43:31 -0000	1.6
  @@ -414,8 +414,9 @@
       */
       public boolean equals(Object other)
       {
  -        if( ! (other instanceof Type )
  +        if( ! (other instanceof Type ) )
               return false;
  +
           Type t = (Type) other;
           
           if( ! m_descriptor.equals( t.m_descriptor ) )
  
  
  

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


Mime
View raw message