Implement equals() in default ValueHandler to fix a testcase.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 16 Apr 2003 15:34:52 +0000 (15:34 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 16 Apr 2003 15:34:52 +0000 (15:34 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@566 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/aa/AAAttribute.java

index 23086a7..0a671c6 100644 (file)
@@ -252,6 +252,16 @@ class StringValueHandler implements ValueHandler {
                return internalValues.iterator();
        }
 
+       /**
+        * @see java.lang.Object#equals(java.lang.Object)
+        */
+       public boolean equals(Object object) {
+               if (object instanceof StringValueHandler) {
+                       return true;
+               }
+               return false;
+       }
+
 }