protect null pointer
This commit is contained in:
parent
ac7ddddb62
commit
00d74d930e
1 changed files with 1 additions and 1 deletions
|
|
@ -499,7 +499,7 @@ public class BRouterView extends View {
|
||||||
rc.localFunction = profilePath;
|
rc.localFunction = profilePath;
|
||||||
rc.turnInstructionMode = cor.getTurnInstructionMode();
|
rc.turnInstructionMode = cor.getTurnInstructionMode();
|
||||||
|
|
||||||
if (params != null || params.length() > 2) {
|
if (params != null && params.length() > 2) {
|
||||||
try {
|
try {
|
||||||
Map<String, String> profileParamsCollection = null;
|
Map<String, String> profileParamsCollection = null;
|
||||||
RoutingParamCollector routingParamCollector = new RoutingParamCollector();
|
RoutingParamCollector routingParamCollector = new RoutingParamCollector();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue