Remove continue and return
This commit is contained in:
parent
bf05917be5
commit
50207ec316
2 changed files with 2 additions and 4 deletions
|
@ -144,8 +144,7 @@ public class TestRouting {
|
|||
public static void info() {
|
||||
println("Run router tests is console utility to test route calculation for osmand. It is also possible to calculate one route from -start to -end.");
|
||||
println("\nUsage for run tests : runTestsSuite [-routingXmlPath=PATH] [-verbose] [-obfDir=PATH] [-start=lat;lon] [-end=lat;lon] [-testDir=PATH] {individualTestPath}");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static void println(String string) {
|
||||
|
|
|
@ -477,8 +477,7 @@ public class OpeningHoursParser {
|
|||
break;
|
||||
}
|
||||
if(Character.isWhitespace(ch) || ch == ','){
|
||||
continue;
|
||||
} else if (ch == '-') {
|
||||
} else if (ch == '-') {
|
||||
if(previousDay != -1){
|
||||
startDay = previousDay;
|
||||
} else if (previousMonth != -1) {
|
||||
|
|
Loading…
Reference in a new issue