Remove continue and return

This commit is contained in:
Nelson A. de Oliveira 2013-07-31 15:24:15 -03:00
parent bf05917be5
commit 50207ec316
2 changed files with 2 additions and 4 deletions

View file

@ -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) {

View file

@ -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) {