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,7 +144,6 @@ 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;
} }

View file

@ -477,7 +477,6 @@ 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;