Fix formatting
This commit is contained in:
parent
47fbef7828
commit
1dc226ccb4
1 changed files with 14 additions and 13 deletions
|
@ -77,19 +77,20 @@ public class GPXUtilities {
|
||||||
SILVER(0xFFC0C0C0),
|
SILVER(0xFFC0C0C0),
|
||||||
TEAL(0xFF008080);
|
TEAL(0xFF008080);
|
||||||
|
|
||||||
int color;
|
int color;
|
||||||
GPXColor(int color) {
|
|
||||||
this.color = color;
|
GPXColor(int color) {
|
||||||
}
|
this.color = color;
|
||||||
|
}
|
||||||
public static GPXColor getColorFromName(String s) {
|
|
||||||
for(GPXColor c : values()) {
|
public static GPXColor getColorFromName(String s) {
|
||||||
if(c.name().equalsIgnoreCase(s)) {
|
for (GPXColor c : values()) {
|
||||||
return c;
|
if (c.name().equalsIgnoreCase(s)) {
|
||||||
}
|
return c;
|
||||||
}
|
}
|
||||||
return null;
|
}
|
||||||
}
|
return null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class GPXExtensions {
|
public static class GPXExtensions {
|
||||||
|
|
Loading…
Reference in a new issue