fix build
This commit is contained in:
parent
c681401e5d
commit
b984d8c76e
1 changed files with 2 additions and 2 deletions
|
@ -692,9 +692,9 @@ public class RouteDataObject {
|
|||
for (int j = 0; j < types.length; j++) {
|
||||
if (r.getTag().equals("direction")) {
|
||||
String dv = r.getValue();
|
||||
if ((dv.equals("forward") && direction = true) || (dv.equals("backward") && direction = false)) {
|
||||
if ((dv.equals("forward") && direction == true) || (dv.equals("backward") && direction == false)) {
|
||||
return 1;
|
||||
} else if ((dv.equals("forward") && direction = false) || (dv.equals("backward") && direction = true)) {
|
||||
} else if ((dv.equals("forward") && direction == false) || (dv.equals("backward") && direction == true)) {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue