reformat RouteServer
This commit is contained in:
parent
f6afafb46c
commit
5c970ed71f
1 changed files with 10 additions and 10 deletions
|
@ -220,7 +220,7 @@ public class RouteServer extends Thread implements Comparable<RouteServer> {
|
|||
rc.keyValues.put(e.getKey().substring(8), e.getValue());
|
||||
} else if (e.getKey().equals("straight")) {
|
||||
String[] sa = e.getValue().split(",");
|
||||
for (int i = 0; i<sa.length;i++) {
|
||||
for (int i = 0; i < sa.length; i++) {
|
||||
int v = Integer.valueOf(sa[i]);
|
||||
if (wplist.size() > v) wplist.get(v).direct = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue