clean up
This commit is contained in:
parent
a52767bdb3
commit
a00011693a
1 changed files with 2 additions and 10 deletions
|
@ -12,6 +12,7 @@ import java.util.List;
|
|||
public class TransportStop extends MapObject {
|
||||
|
||||
private static final int DELETED_STOP = -1;
|
||||
public static final String MISSING_STOP_NAME = "#Missing Stop";
|
||||
|
||||
private int[] referencesToRoutes = null;
|
||||
private long[] deletedRoutesIds;
|
||||
|
@ -22,7 +23,6 @@ public class TransportStop extends MapObject {
|
|||
private List<TransportStopExit> exits;
|
||||
private List<TransportRoute> routes = null;
|
||||
private LinkedHashMap<String, int[]> referencesToRoutesMap;
|
||||
private boolean missingStop = false;
|
||||
|
||||
private TransportStopAggregated transportStopAggregated;
|
||||
|
||||
|
@ -32,16 +32,8 @@ public class TransportStop extends MapObject {
|
|||
return routes;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setName(String name) {
|
||||
super.setName(name);
|
||||
if (name != null && name.equals("#Missing Stop")) {
|
||||
missingStop = true;
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isMissingStop() {
|
||||
return missingStop;
|
||||
return MISSING_STOP_NAME.equals(getName());
|
||||
}
|
||||
|
||||
public LinkedHashMap<String, int[]> getReferencesToRoutesMap() {
|
||||
|
|
Loading…
Reference in a new issue