Dolda2000 GitWeb
/
kaka
/
cakelight.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move ListPosition inside VideoFrame
[kaka/cakelight.git]
/
src
/
kaka
/
cakelight
/
Console.java
diff --git
a/src/kaka/cakelight/Console.java
b/src/kaka/cakelight/Console.java
index
5dfe091
..
89acbbd
100644
(file)
--- a/
src/kaka/cakelight/Console.java
+++ b/
src/kaka/cakelight/Console.java
@@
-75,21
+75,21
@@
public class Console extends Thread {
while (running) {
System.out.print("> ");
String input = reader.readLine();
while (running) {
System.out.print("> ");
String input = reader.readLine();
-
internalH
andleInput(input);
+
h
andleInput(input);
}
} catch (IOException e) {
System.out.println("Error reading from command line");
}
}
}
} catch (IOException e) {
System.out.println("Error reading from command line");
}
}
-
private void internalH
andleInput(String input) {
- Object obj =
h
andleInput(input);
+
void h
andleInput(String input) {
+ Object obj =
internalH
andleInput(input);
if (obj instanceof Mode) {
cakelight.setMode((Mode) obj);
}
}
if (obj instanceof Mode) {
cakelight.setMode((Mode) obj);
}
}
- Object
h
andleInput(String input) {
+ Object
internalH
andleInput(String input) {
String[] splitInput = input.split("\\s+", 2);
String name = splitInput[0];
String[] args = splitInput.length == 2
String[] splitInput = input.split("\\s+", 2);
String name = splitInput[0];
String[] args = splitInput.length == 2