nathanmarz/storm — pull request #275 by xumingming (2012-07-25 04:56:10+00:00)
Title: fix Cluster.getNeedsSchedulingExecutorToComponents & some cleanup

Currently Cluster.getNeedsSchedulingExecutorToComponents returns all the executors rather than just the executors needs scheduling. It is fixed by change the type of ExecutorDetails.startTask/endTask from Integer to int, because `new Integer(10) != new Integer(10)`. Also done some cleanup.