leosutic    2003/08/10 15:21:43

  Modified:    attributes/api/src/test/org/apache/avalon/attributes/test
                        ThreadSafe.java
  Log:
  1. Moved all build stuff into Maven.
  2. Wrote a proper test case.
  3. Included support for attributes attached to fields and constructors.
  4. Slight code cleanups.
  
  Revision  Changes    Path
  1.2       +8 -0      
avalon-sandbox/attributes/api/src/test/org/apache/avalon/attributes/test/ThreadSafe.java
  
  Index: ThreadSafe.java
  ===================================================================
  RCS file: 
/home/cvs/avalon-sandbox/attributes/api/src/test/org/apache/avalon/attributes/test/ThreadSafe.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ThreadSafe.java   10 Aug 2003 13:46:08 -0000      1.1
  +++ ThreadSafe.java   10 Aug 2003 22:21:43 -0000      1.2
  @@ -5,6 +5,14 @@
       public ThreadSafe () {
       }
       
  +    public boolean equals (Object o) {
  +        return o instanceof ThreadSafe;
  +    }
  +    
  +    public int hashCode () {
  +        return 0;
  +    }
  +    
       public String toString () {
           return "[ThreadSafe]";
       }
  
  
  

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

Reply via email to