summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/external/jsr166/java/util/concurrent/Semaphore.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/external/jsr166/java/util/concurrent/Semaphore.java')
-rw-r--r--libjava/classpath/external/jsr166/java/util/concurrent/Semaphore.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/classpath/external/jsr166/java/util/concurrent/Semaphore.java b/libjava/classpath/external/jsr166/java/util/concurrent/Semaphore.java
index 94e9746ae85..10523643909 100644
--- a/libjava/classpath/external/jsr166/java/util/concurrent/Semaphore.java
+++ b/libjava/classpath/external/jsr166/java/util/concurrent/Semaphore.java
@@ -614,7 +614,7 @@ public class Semaphore implements java.io.Serializable {
* @throws IllegalArgumentException if {@code reduction} is negative
*/
protected void reducePermits(int reduction) {
- if (reduction < 0) throw new IllegalArgumentException();
+ if (reduction < 0) throw new IllegalArgumentException();
sync.reducePermits(reduction);
}
OpenPOWER on IntegriCloud