Fix: Local variable and method parameter names should comply with a naming convention (squid:S00117)

This commit is contained in:
Jano Svitok 2018-07-30 12:06:27 +02:00
parent aa245626ab
commit 9b4be76f3e
1 changed files with 3 additions and 3 deletions

View File

@ -32,11 +32,11 @@ public class AdbServerLauncher {
}
private static String findAdbExecutable(Map<String, String> environment) {
String android_home = environment.get("ANDROID_HOME");
if (android_home == null || android_home.equals("")) {
String androidHome = environment.get("ANDROID_HOME");
if (androidHome == null || androidHome.equals("")) {
return "adb";
}
return android_home + "/platform-tools/adb";
return androidHome + "/platform-tools/adb";
}
public void launch() throws IOException, InterruptedException {