Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
3d7276ec46
1 changed files with 3 additions and 4 deletions
|
@ -727,12 +727,11 @@ public class OpeningHoursParser {
|
||||||
}
|
}
|
||||||
// check if valid
|
// check if valid
|
||||||
final OpeningHoursRule r1 = parseRule(r);
|
final OpeningHoursRule r1 = parseRule(r);
|
||||||
boolean rule = r1 instanceof UnparseableRule;
|
boolean rule = r1 instanceof BasicOpeningHourRule;
|
||||||
if (!rule) {
|
if (rule) {
|
||||||
return null;
|
|
||||||
}
|
|
||||||
rs.addRule(r1);
|
rs.addRule(r1);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return rs;
|
return rs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue