Fix issue with conditional opening hours

This commit is contained in:
Victor Shcherb 2019-07-26 10:41:36 +02:00
parent e613c1a7a7
commit c791c4a054

View file

@ -174,7 +174,7 @@ public class BinaryMapRouteReaderAdapter {
type = HIGHWAY_TYPE;
} else if(t.endsWith(":conditional") && v != null){
conditions = new ArrayList<RouteTypeCondition>();
String[] cts = v.split(";");
String[] cts = v.split("\\);");
for(String c : cts) {
int ch = c.indexOf('@');
if (ch > 0) {