Skip to content

Commit 6f34ca1

Browse files
committed
Changed the comment about random range to proper values.
1 parent aed1514 commit 6f34ca1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎libraries-data/src/main/java/com/baeldung/storm/spout/RandomNumberSpout.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public void open(Map map, TopologyContext topologyContext, SpoutOutputCollector
2525
@Override
2626
public void nextTuple() {
2727
Utils.sleep(1000);
28-
//This will select random int from the range (-1000, 1000)
28+
//This will select random int from the range (0, 100)
2929
int operation = random.nextInt(101);
3030
long timestamp = System.currentTimeMillis();
3131

0 commit comments

Comments
 (0)