From afaaf13d27e8f1ca10fc5f4265740c7fee0c1224 Mon Sep 17 00:00:00 2001 From: emaiannone Date: Sat, 29 Feb 2020 11:16:12 +0100 Subject: [PATCH] Refactor Member Ignoring Method smell in Shell class --- .idea/gradle.xml | 3 ++- shared/src/main/java/com/spazedog/lib/rootfw4/Shell.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.idea/gradle.xml b/.idea/gradle.xml index ea015f0..619fc22 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -1,8 +1,10 @@ + diff --git a/shared/src/main/java/com/spazedog/lib/rootfw4/Shell.java b/shared/src/main/java/com/spazedog/lib/rootfw4/Shell.java index 6fa2626..9dfd5e0 100644 --- a/shared/src/main/java/com/spazedog/lib/rootfw4/Shell.java +++ b/shared/src/main/java/com/spazedog/lib/rootfw4/Shell.java @@ -661,7 +661,7 @@ public String findCommand(String bin) { * @param command * The command to convert into multiple attempts */ - public Attempts createAttempts(String command) { + public static Attempts createAttempts(String command) { if (command != null) { return new Attempts(command); }