Fix NPE
This commit is contained in:
parent
c2530eb81a
commit
b94ddbb37a
1 changed files with 3 additions and 0 deletions
|
@ -399,6 +399,9 @@ public class EditPoiDialogFragment extends BaseOsmAndDialogFragment {
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean testTooManyCapitalLetters(String name) {
|
private boolean testTooManyCapitalLetters(String name) {
|
||||||
|
if(name == null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
int capital = 0;
|
int capital = 0;
|
||||||
int lower = 0;
|
int lower = 0;
|
||||||
int nonalpha = 0;
|
int nonalpha = 0;
|
||||||
|
|
Loading…
Reference in a new issue