Skip to content

Commit

Permalink
get rid of richbolt setters in transactionaltopologybuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Marz committed Jan 26, 2012
1 parent 20a2980 commit d56be3f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Expand Up @@ -84,14 +84,6 @@ public BoltDeclarer setBolt(String id, IBasicBolt bolt) {
public BoltDeclarer setBolt(String id, IBasicBolt bolt, Integer parallelism) {
return setBolt(id, new BasicBoltExecutor(bolt), parallelism, false);
}

public BoltDeclarer setBolt(String id, IRichBolt bolt) {
return setBolt(id, bolt, null);
}

public BoltDeclarer setBolt(String id, IRichBolt bolt, Integer parallelism) {
return setBolt(id, bolt, parallelism, false);
}

private BoltDeclarer setBolt(String id, IRichBolt bolt, Integer parallelism, boolean committer) {
Component component = new Component(bolt, parallelism, committer);
Expand Down
2 changes: 1 addition & 1 deletion test/clj/backtype/storm/transactional_test.clj
Expand Up @@ -340,7 +340,7 @@
"spout"
(MemoryTransactionalSpout. data
(Fields. ["word" "amt"])
3)
2)
2))

(-> builder
Expand Down

0 comments on commit d56be3f

Please sign in to comment.