propose-patch
[org.ibex.core.git] / src / org / xwt / util / Semaphore.java
index 278e0e6..673919d 100644 (file)
@@ -1,4 +1,10 @@
-// Copyright 2002 Adam Megacz, see the COPYING file for licensing [GPL]
+// Copyright (C) 2003 Adam Megacz <adam@xwt.org> all rights reserved.
+//
+// You may modify, copy, and redistribute this code under the terms of
+// the GNU Library Public License version 2.1, with the exception of
+// the portion of clause 6a after the semicolon (aka the "obnoxious
+// relink clause")
+
 package org.xwt.util;
 
 /** Simple implementation of a blocking, counting semaphore. */
@@ -15,8 +21,8 @@ public class Semaphore {
                 wait();
             } catch (InterruptedException e) {
             } catch (Throwable e) {
-                if (Log.on) Log.log(this, "Exception in Semaphore.block(); this should never happen");
-                if (Log.on) Log.log(this, e);
+                if (Log.on) Log.info(this, "Exception in Semaphore.block(); this should never happen");
+                if (Log.on) Log.info(this, e);
             }
         }
         val--;