ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jdk7/java/util/Random.java
(Generate patch)

Comparing jsr166/src/jdk7/java/util/Random.java (file contents):
Revision 1.2 by jsr166, Fri Jan 18 04:23:27 2013 UTC vs.
Revision 1.3 by jsr166, Sat Feb 16 20:50:29 2013 UTC

# Line 294 | Line 294 | class Random implements java.io.Serializ
294       * @throws IllegalArgumentException if n is not positive
295       * @since 1.2
296       */
297
297      public int nextInt(int n) {
298          if (n <= 0)
299              throw new IllegalArgumentException("n must be positive");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines