diff --git a/src/java/com/samskivert/util/RandomUtil.java b/src/java/com/samskivert/util/RandomUtil.java index 1fbe9b8b..ca86c462 100644 --- a/src/java/com/samskivert/util/RandomUtil.java +++ b/src/java/com/samskivert/util/RandomUtil.java @@ -64,7 +64,7 @@ public class RandomUtil * Returns a pseudorandom, uniformly distributed int value between * high and low, exclusive of each. * - * @deprecated use getRange(int, int). + * @deprecated use getInRange(int, int). */ @Deprecated public static int getInt (int high, int low) @@ -76,7 +76,7 @@ public class RandomUtil * Returns a pseudorandom, uniformly distributed int value between * low (inclusive) and high (exclusive). */ - public static int getRange (int low, int high) + public static int getInRange (int low, int high) { return low + rand.nextInt(high - low); } @@ -85,7 +85,7 @@ public class RandomUtil * Returns a pseudorandom, uniformly distributed float value between * low (inclusive) and high (exclusive). */ - public static float getRange (float low, float high) + public static float getInRange (float low, float high) { return low + (rand.nextFloat() * (high - low)); }