Remove unnecessary code

This commit is contained in:
Chumva 2018-10-18 18:36:08 +03:00
parent 8088290cf9
commit 65efae3550

View file

@ -1172,13 +1172,7 @@ public class OpeningHoursParser {
@Override
public boolean isOpened24_7() {
boolean opened24_7 = true;
for (int i = 0; i < 7; i++) {
if (!days[i]) {
opened24_7 = false;
break;
}
}
boolean opened24_7 = isOpenedEveryDay();
if (opened24_7) {
if (startTimes != null && startTimes.size() > 0) {