Index: webrtc/base/java/src/org/webrtc/ThreadUtils.java |
diff --git a/webrtc/base/java/src/org/webrtc/ThreadUtils.java b/webrtc/base/java/src/org/webrtc/ThreadUtils.java |
index b7ec8fb1206a50c951543388c7d23745dee4c2b0..4337fd0349c1638cb6f4a31914a283b71171fbbc 100644 |
--- a/webrtc/base/java/src/org/webrtc/ThreadUtils.java |
+++ b/webrtc/base/java/src/org/webrtc/ThreadUtils.java |
@@ -42,9 +42,7 @@ public class ThreadUtils { |
* Utility interface to be used with executeUninterruptibly() to wait for blocking operations |
* to complete without getting interrupted.. |
*/ |
- public interface BlockingOperation { |
- void run() throws InterruptedException; |
- } |
+ public interface BlockingOperation { void run() throws InterruptedException; } |
/** |
* Utility method to make sure a blocking operation is executed to completion without getting |
@@ -168,7 +166,8 @@ public class ThreadUtils { |
final CaughtException caughtException = new CaughtException(); |
final CountDownLatch barrier = new CountDownLatch(1); |
handler.post(new Runnable() { |
- @Override public void run() { |
+ @Override |
+ public void run() { |
try { |
result.value = callable.call(); |
} catch (Exception e) { |
@@ -182,9 +181,8 @@ public class ThreadUtils { |
// stack trace for the waiting thread as well. |
if (caughtException.e != null) { |
final RuntimeException runtimeException = new RuntimeException(caughtException.e); |
- runtimeException.setStackTrace(concatStackTraces( |
- caughtException.e.getStackTrace(), |
- runtimeException.getStackTrace())); |
+ runtimeException.setStackTrace( |
+ concatStackTraces(caughtException.e.getStackTrace(), runtimeException.getStackTrace())); |
throw runtimeException; |
} |
return result.value; |