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() {
|
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("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}");
|
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) {
|
private static void println(String string) {
|
||||||
|
|
|
@ -477,8 +477,7 @@ public class OpeningHoursParser {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if(Character.isWhitespace(ch) || ch == ','){
|
if(Character.isWhitespace(ch) || ch == ','){
|
||||||
continue;
|
} else if (ch == '-') {
|
||||||
} else if (ch == '-') {
|
|
||||||
if(previousDay != -1){
|
if(previousDay != -1){
|
||||||
startDay = previousDay;
|
startDay = previousDay;
|
||||||
} else if (previousMonth != -1) {
|
} else if (previousMonth != -1) {
|
||||||
|
|
Loading…
Reference in a new issue