Skip to content

Commit acbcb8d

Browse files
author
Nathan Marz
committed
get rid of unused num-tasks local in mk-shuffle-grouper
1 parent debb8da commit acbcb8d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/clj/backtype/storm/daemon/executor.clj

+1-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
task-getter))))
2222

2323
(defn- mk-shuffle-grouper [^List target-tasks]
24-
(let [num-tasks (count target-tasks)
25-
choices (rotating-random-range target-tasks)]
24+
(let [choices (rotating-random-range target-tasks)]
2625
(fn [tuple]
2726
(acquire-random-range-id choices))))
2827

0 commit comments

Comments
 (0)