mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-30 07:28:26 +01:00
Small optimization
This commit is contained in:
parent
93213f826f
commit
392ac334dc
|
@ -1413,7 +1413,7 @@ public class GameTree {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Pair<String, String> extractExtInfo(String comment, String cmd) {
|
private static Pair<String, String> extractExtInfo(String comment, String cmd) {
|
||||||
comment = comment.replaceAll("\n|\r|\t", " ");
|
comment = comment.replaceAll("[\n\r\t]", " ");
|
||||||
String remaining = comment;
|
String remaining = comment;
|
||||||
String param = null;
|
String param = null;
|
||||||
String match = "[%" + cmd + " ";
|
String match = "[%" + cmd + " ";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user