]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed 1.5 java code back to 1.4.2
authorJani Laakso <jani.laakso@itmill.com>
Fri, 1 Feb 2008 09:58:52 +0000 (09:58 +0000)
committerJani Laakso <jani.laakso@itmill.com>
Fri, 1 Feb 2008 09:58:52 +0000 (09:58 +0000)
svn changeset:3695/svn branch:trunk

src/com/itmill/toolkit/event/ListenerMethod.java

index 8cf1d17c3e0af4c83659468f89ad7f131f7eb6d4..059cab9e366f0f955509545b6709c2cba2c4c608 100644 (file)
@@ -494,7 +494,6 @@ public class ListenerMethod implements EventListener {
         hash = 31 * hash + (eventType == null ? 0 : eventType.hashCode());
         hash = 31 * hash + (object == null ? 0 : object.hashCode());
         hash = 31 * hash + (method == null ? 0 : method.hashCode());
-        hash = 31 * hash + (arguments == null ? 0 : Arrays.hashCode(arguments));
 
         return hash;
     }
@@ -518,7 +517,7 @@ public class ListenerMethod implements EventListener {
                         .equals(t.object)))
                 && (method == t.method || (method != null && method
                         .equals(t.method)))
-                && (arguments == t.arguments || (Arrays.deepEquals(arguments,
+                && (arguments == t.arguments || (Arrays.equals(arguments,
                         t.arguments)));
     }