Ignore case when checking remote commands.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1497 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -21,13 +21,13 @@ public class Remote extends DJClient
|
||||
{
|
||||
super.didInit();
|
||||
|
||||
if (_command.equals("play")) {
|
||||
if (_command.equalsIgnoreCase("play")) {
|
||||
djobj.play();
|
||||
|
||||
} else if (_command.equals("pause")) {
|
||||
} else if (_command.equalsIgnoreCase("pause")) {
|
||||
djobj.pause();
|
||||
|
||||
} else if (_command.equals("stop")) {
|
||||
} else if (_command.equalsIgnoreCase("stop")) {
|
||||
djobj.stop();
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user