From 5f1cbbeb0ba7ca68a2dfa6c1f65fd5b667f1e5c0 Mon Sep 17 00:00:00 2001 From: Jan Vales Date: Thu, 13 Jun 2013 16:39:17 +0200 Subject: [PATCH] changed visibility of randomInt to be able to use it in Federation. --- src/at/ac/tuwien/lsdc/JobGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/at/ac/tuwien/lsdc/JobGenerator.java b/src/at/ac/tuwien/lsdc/JobGenerator.java index 02ee329..666c1fd 100644 --- a/src/at/ac/tuwien/lsdc/JobGenerator.java +++ b/src/at/ac/tuwien/lsdc/JobGenerator.java @@ -100,7 +100,7 @@ public class JobGenerator { writer.writeNext(header); } - private static int randomInt(int low, int high) { + public static int randomInt(int low, int high) { return (rand.nextInt(high - low) + low); } -- 2.43.0