From e1a66d5766a12e55b02ed88187b6fdbc4d3240b1 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 25 Jun 2018 16:02:30 +0200 Subject: global: Small cleanups Signed-off-by: Jason A. Donenfeld --- app/src/main/java/com/wireguard/android/util/SharedLibraryLoader.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/src/main/java/com/wireguard/android/util') diff --git a/app/src/main/java/com/wireguard/android/util/SharedLibraryLoader.java b/app/src/main/java/com/wireguard/android/util/SharedLibraryLoader.java index 5d01a4fd..b4d9a3aa 100644 --- a/app/src/main/java/com/wireguard/android/util/SharedLibraryLoader.java +++ b/app/src/main/java/com/wireguard/android/util/SharedLibraryLoader.java @@ -27,7 +27,7 @@ public final class SharedLibraryLoader { try { System.loadLibrary(libName); return; - } catch (UnsatisfiedLinkError e) { + } catch (final UnsatisfiedLinkError e) { Log.d(TAG, "Failed to load library normally, so attempting to extract from apk", e); noAbiException = e; } @@ -59,7 +59,7 @@ public final class SharedLibraryLoader { } System.load(f.getAbsolutePath()); return; - } catch (Exception e) { + } catch (final Exception e) { Log.d(TAG, "Failed to load library apk:/" + libZipPath, e); noAbiException = e; } finally { -- cgit v1.2.3