You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by bo...@apache.org on 2015/04/22 23:38:59 UTC

[2/4] storm git commit: More efficient check for empty output task id list

More efficient check for empty output task id list


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

Branch: refs/heads/master
Commit: dd27ee47346fa417e6acb0cd68b9023d2d6dfe5a
Parents: 6602c4b
Author: Derek Dagit <de...@yahoo-inc.com>
Authored: Tue Apr 7 11:13:11 2015 -0500
Committer: Derek Dagit <de...@yahoo-inc.com>
Committed: Tue Apr 7 11:13:11 2015 -0500

----------------------------------------------------------------------
 storm-core/src/clj/backtype/storm/daemon/executor.clj | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/dd27ee47/storm-core/src/clj/backtype/storm/daemon/executor.clj
----------------------------------------------------------------------
diff --git a/storm-core/src/clj/backtype/storm/daemon/executor.clj b/storm-core/src/clj/backtype/storm/daemon/executor.clj
index 1c90921..c353512 100644
--- a/storm-core/src/clj/backtype/storm/daemon/executor.clj
+++ b/storm-core/src/clj/backtype/storm/daemon/executor.clj
@@ -527,7 +527,7 @@
                                                                         overflow-buffer)
                                                            ))
                                          (if (and rooted?
-                                                  (seq out-ids)) ;; not empty
+                                                  (not (.isEmpty out-ids)))
                                            (do
                                              (.put pending root-id [task-id
                                                                     message-id