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

Comparing jsr166/src/main/java/util/concurrent/Semaphore.java (file contents):
Revision 1.61 by dl, Tue May 22 23:01:26 2012 UTC vs.
Revision 1.62 by jsr166, Sun Oct 21 06:14:12 2012 UTC

# Line 123 | Line 123 | import java.util.concurrent.locks.Abstra
123   *
124   * @since 1.5
125   * @author Doug Lea
126 *
126   */
127  
128   public class Semaphore implements java.io.Serializable {
# Line 461 | Line 460 | public class Semaphore implements java.i
460       *
461       * @param permits the number of permits to acquire
462       * @throws IllegalArgumentException if {@code permits} is negative
464     *
463       */
464      public void acquireUninterruptibly(int permits) {
465          if (permits < 0) throw new IllegalArgumentException();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines