Changed the comment about random range to proper values.

This commit is contained in:
DomWos 2018-10-23 12:09:46 +02:00
parent aed1514c0b
commit 6f34ca1de2

View File

@ -25,7 +25,7 @@ public class RandomNumberSpout extends BaseRichSpout {
@Override @Override
public void nextTuple() { public void nextTuple() {
Utils.sleep(1000); Utils.sleep(1000);
//This will select random int from the range (-1000, 1000) //This will select random int from the range (0, 100)
int operation = random.nextInt(101); int operation = random.nextInt(101);
long timestamp = System.currentTimeMillis(); long timestamp = System.currentTimeMillis();