1.1 --- a/openide.util/src/org/openide/util/Task.java Thu Sep 10 15:27:43 2009 +0200
1.2 +++ b/openide.util/src/org/openide/util/Task.java Fri Sep 18 15:49:41 2009 +0200
1.3 @@ -198,9 +198,7 @@
1.4 */
1.5 protected final void notifyRunning() {
1.6 synchronized (this) {
1.7 - if (RequestProcessor.logger().isLoggable(Level.FINE)) {
1.8 - RequestProcessor.logger().fine("notifyRunning: " + this); // NOI18N
1.9 - }
1.10 + RequestProcessor.logger().log(Level.FINE, "notifyRunning: {0}", this); // NOI18N
1.11 this.finished = false;
1.12 notifyAll();
1.13 }
1.14 @@ -214,9 +212,7 @@
1.15
1.16 synchronized (this) {
1.17 finished = true;
1.18 - if (RequestProcessor.logger().isLoggable(Level.FINE)) {
1.19 - RequestProcessor.logger().fine("notifyFinished: " + this); // NOI18N
1.20 - }
1.21 + RequestProcessor.logger().log(Level.FINE, "notifyFinished: {0}", this); // NOI18N
1.22 notifyAll();
1.23
1.24 // fire the listeners