diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-06-17 22:34:22 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-06-17 22:34:22 +0200 |
commit | b10a6171a5e7e1e075a0e758be36171f88b5cabf (patch) | |
tree | 27bbb1e6f139879ffcbb6fdc5ced8b58badf3ab5 | |
parent | 6534f45a3a3bc30f2665db5cd1d79f71567bb2be (diff) |
Application: make lock final
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | app/src/main/java/com/wireguard/android/Application.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/wireguard/android/Application.java b/app/src/main/java/com/wireguard/android/Application.java index e4f078f7..742544d3 100644 --- a/app/src/main/java/com/wireguard/android/Application.java +++ b/app/src/main/java/com/wireguard/android/Application.java @@ -38,7 +38,7 @@ public class Application extends android.app.Application { private TunnelManager tunnelManager; private Handler handler; private List<BackendCallback> haveBackendCallbacks = new ArrayList<>(); - private Object haveBackendCallbacksLock = new Object(); + private final Object haveBackendCallbacksLock = new Object(); public Application() { weakSelf = new WeakReference<>(this); |