Skip to content

Commit

Permalink
fixed npe in webkitspeech for transforms
Browse files Browse the repository at this point in the history
  • Loading branch information
supertick committed Mar 25, 2016
1 parent a919eca commit 87530c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/org/myrobotlab/service/TextTransform.java
Expand Up @@ -63,7 +63,7 @@ public void addTextListener(TextListener service) {
static public ServiceType getMetaData() {

ServiceType meta = new ServiceType(TextTransform.class.getCanonicalName());
meta.addDescription("TestThrower is used with TestCatcher to test messaging");
meta.addDescription("TextTransform");
meta.addCategory("data","filter");
return meta;
}
Expand Down
2 changes: 1 addition & 1 deletion src/org/myrobotlab/service/WebkitSpeechRecognition.java
Expand Up @@ -45,7 +45,7 @@ public class Command {

private String language = "en-US";

HashMap<String, Command> commands = null;
HashMap<String, Command> commands = new HashMap<String, Command>();

public WebkitSpeechRecognition(String reservedKey) {
super(reservedKey);
Expand Down

0 comments on commit 87530c4

Please sign in to comment.