From 9b29fb0a919391e2726eb3ff837d043830b642b8 Mon Sep 17 00:00:00 2001 From: joeykrim Date: Sat, 28 Feb 2015 20:12:02 -0500 Subject: [PATCH] Minor typos --- src/com/stericson/RootShell/execution/Shell.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/com/stericson/RootShell/execution/Shell.java b/src/com/stericson/RootShell/execution/Shell.java index 90ab2af..25b6d90 100644 --- a/src/com/stericson/RootShell/execution/Shell.java +++ b/src/com/stericson/RootShell/execution/Shell.java @@ -53,7 +53,7 @@ public static enum ShellType { //this is only used with root shells public static enum ShellContext { NORMAL("normal"), //The normal context... - SHELL("u:r:shell:s0"), //Unprivileged shell (such as an adb shell) + SHELL("u:r:shell:s0"), //unprivileged shell (such as an adb shell) SYSTEM_SERVER("u:r:system_server:s0"), // system_server, u:r:system:s0 on some firmwares SYSTEM_APP("u:r:system_app:s0"), // System apps PLATFORM_APP("u:r:platform_app:s0"), // System apps @@ -187,7 +187,7 @@ private Shell(String cmd, ShellType shellType, ShellContext shellContext, int sh worker.join(this.shellTimeout); /** - * The operation could not be completed before the timeout occured. + * The operation could not be completed before the timeout occurred. */ if (worker.exit == -911) { @@ -651,7 +651,7 @@ public void run() { isReading = true; /** - * If we recieve EOF then the shell closed? + * If we receive EOF then the shell closed? */ if (outputLine == null) { break; @@ -983,7 +983,7 @@ public void run() { break; } - shell.error = "unkown error occured."; + shell.error = "unknown error occurred."; } } catch (IOException e) { exit = -42;