summaryrefslogtreecommitdiffhomepage
path: root/tunnel/src
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2020-03-10 13:08:28 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2020-03-10 13:08:28 +0530
commita3b9c3b8844870acac23d6b1408d23d891952b2b (patch)
tree8ac383491b939fc8c179629f1f789610ec9c583f /tunnel/src
parent021e16959f23050fe3dea955fb36457b9cb2a9b4 (diff)
ui: Codestyle cleanups
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'tunnel/src')
-rw-r--r--tunnel/src/main/java/com/wireguard/android/util/ToolsInstaller.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/tunnel/src/main/java/com/wireguard/android/util/ToolsInstaller.java b/tunnel/src/main/java/com/wireguard/android/util/ToolsInstaller.java
index f3565c1e..7c7be392 100644
--- a/tunnel/src/main/java/com/wireguard/android/util/ToolsInstaller.java
+++ b/tunnel/src/main/java/com/wireguard/android/util/ToolsInstaller.java
@@ -107,10 +107,10 @@ public final class ToolsInstaller {
}
}
- public boolean extract() throws IOException {
+ private boolean extract() throws IOException {
localBinaryDir.mkdirs();
- final File files[] = new File[EXECUTABLES.length];
- final File tempFiles[] = new File[EXECUTABLES.length];
+ final File[] files = new File[EXECUTABLES.length];
+ final File[] tempFiles = new File[EXECUTABLES.length];
boolean allExist = true;
for (int i = 0; i < files.length; ++i) {
files[i] = new File(localBinaryDir, EXECUTABLES[i]);