mirror of
https://github.com/revanced/jadb.git
synced 2025-02-05 23:16:47 +01:00
Fix: Local variable and method parameter names should comply with a naming convention (squid:S00117)
This commit is contained in:
parent
aa245626ab
commit
9b4be76f3e
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user