bug fix
This commit is contained in:
@@ -57,7 +57,7 @@ public class SaturnParser {
|
|||||||
if (val.isEmpty()) {
|
if (val.isEmpty()) {
|
||||||
return new String[] {};
|
return new String[] {};
|
||||||
}
|
}
|
||||||
return val.split("$");
|
return val.split("\\$");
|
||||||
} else {
|
} else {
|
||||||
throw new IOException("Parameter not found " + i);
|
throw new IOException("Parameter not found " + i);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -88,6 +88,8 @@ public class SaturnSocket {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SaturnClient.LOGGER.info("Received: " + message);
|
||||||
|
|
||||||
SaturnParser parser = new SaturnParser(message);
|
SaturnParser parser = new SaturnParser(message);
|
||||||
|
|
||||||
switch (parser.method) {
|
switch (parser.method) {
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 150 KiB After Width: | Height: | Size: 150 KiB |
Reference in New Issue
Block a user