From abada90e3f84dc703b8ddc9efcbed8a946fadead Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Thu, 1 Feb 2007 17:09:49 +0000 Subject: Expanded tabs into spaces --- java/src/IceUtil/CountDownLatch.java | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'java/src/IceUtil/CountDownLatch.java') diff --git a/java/src/IceUtil/CountDownLatch.java b/java/src/IceUtil/CountDownLatch.java index f26806f827a..3550913d89a 100644 --- a/java/src/IceUtil/CountDownLatch.java +++ b/java/src/IceUtil/CountDownLatch.java @@ -17,35 +17,35 @@ public class CountDownLatch { public CountDownLatch(int count) { - if(_count < 0) - { - throw new IllegalArgumentException("count < 0"); - } - _count = count; + if(_count < 0) + { + throw new IllegalArgumentException("count < 0"); + } + _count = count; } public synchronized void await() throws InterruptedException { - while(_count > 0) - { - wait(); - } + while(_count > 0) + { + wait(); + } } public synchronized void countDown() { - if(_count > 0 && --_count == 0) - { - notifyAll(); - } + if(_count > 0 && --_count == 0) + { + notifyAll(); + } } public synchronized long getCount() { - return _count; + return _count; } private int _count; -- cgit v1.2.3