Fix compilation issue

This commit is contained in:
Victor Shcherb 2018-12-26 23:56:44 +01:00
parent 703204ce19
commit ce1f2be739

View file

@ -75,8 +75,9 @@ public class GPXUtilities {
@ColorInt @ColorInt
public int getColor(@ColorInt int defColor) { public int getColor(@ColorInt int defColor) {
String clrValue = null;
if (extensions != null) { if (extensions != null) {
String clrValue = extensions.get("color"); clrValue = extensions.get("color");
if (clrValue == null) { if (clrValue == null) {
clrValue = extensions.get("colour"); clrValue = extensions.get("colour");
} }