Fix formatting

This commit is contained in:
Victor Shcherb 2019-02-15 12:02:38 +01:00
parent 47fbef7828
commit 1dc226ccb4

View file

@ -77,19 +77,20 @@ public class GPXUtilities {
SILVER(0xFFC0C0C0),
TEAL(0xFF008080);
int color;
GPXColor(int color) {
this.color = color;
}
public static GPXColor getColorFromName(String s) {
for(GPXColor c : values()) {
if(c.name().equalsIgnoreCase(s)) {
return c;
}
}
return null;
}
int color;
GPXColor(int color) {
this.color = color;
}
public static GPXColor getColorFromName(String s) {
for (GPXColor c : values()) {
if (c.name().equalsIgnoreCase(s)) {
return c;
}
}
return null;
}
}
public static class GPXExtensions {