From: Jani Laakso Date: Fri, 1 Feb 2008 09:58:52 +0000 (+0000) Subject: Fixed 1.5 java code back to 1.4.2 X-Git-Tag: 6.7.0.beta1~5121 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=82adb4bc3e0e557b2b977dbc0563599f63a9f6f5;p=vaadin-framework.git Fixed 1.5 java code back to 1.4.2 svn changeset:3695/svn branch:trunk --- diff --git a/src/com/itmill/toolkit/event/ListenerMethod.java b/src/com/itmill/toolkit/event/ListenerMethod.java index 8cf1d17c3e..059cab9e36 100644 --- a/src/com/itmill/toolkit/event/ListenerMethod.java +++ b/src/com/itmill/toolkit/event/ListenerMethod.java @@ -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))); }