You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by ka...@apache.org on 2015/08/04 08:21:25 UTC

[06/10] storm git commit: remove unneeded type hint

remove unneeded type hint


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/10eb798e
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/10eb798e
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/10eb798e

Branch: refs/heads/0.10.x-branch
Commit: 10eb798ee60eb24b2d964e7e4eca4a2a1bfc17ce
Parents: e376253
Author: Derek Dagit <de...@yahoo-inc.com>
Authored: Wed Jul 22 12:17:14 2015 -0500
Committer: Jungtaek Lim <ka...@gmail.com>
Committed: Tue Aug 4 13:07:45 2015 +0900

----------------------------------------------------------------------
 storm-core/src/clj/backtype/storm/tuple.clj | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/10eb798e/storm-core/src/clj/backtype/storm/tuple.clj
----------------------------------------------------------------------
diff --git a/storm-core/src/clj/backtype/storm/tuple.clj b/storm-core/src/clj/backtype/storm/tuple.clj
index 790a823..f45d249 100644
--- a/storm-core/src/clj/backtype/storm/tuple.clj
+++ b/storm-core/src/clj/backtype/storm/tuple.clj
@@ -21,5 +21,4 @@
   [^List alist]
   (if (nil? alist)
     1
-    (let [^"[Ljava.lang.Object;" array (.toArray alist)] ;; Object[]
-      (Arrays/deepHashCode array))))
+    (Arrays/deepHashCode (.toArray alist))))