Useless synchronized with local only variable

captchafix
nopjmp 11 years ago
parent 09af20ce28
commit c11327a03d
  1. 4
      Clover/app/src/main/java/org/floens/chan/service/WatchService.java

@ -170,9 +170,7 @@ public class WatchService extends Service {
Logger.d(TAG, "Waiting for interrupt..."); Logger.d(TAG, "Waiting for interrupt...");
try { try {
Object o = new Object(); Object o = new Object();
synchronized (o) { o.wait();
o.wait();
}
} catch (InterruptedException e) { } catch (InterruptedException e) {
Logger.d(TAG, "Interrupted!"); Logger.d(TAG, "Interrupted!");
} }

Loading…
Cancel
Save