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

View file

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