Fix formatting

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

View file

@ -78,13 +78,14 @@ public class GPXUtilities {
TEAL(0xFF008080); TEAL(0xFF008080);
int color; int color;
GPXColor(int color) { GPXColor(int color) {
this.color = color; this.color = color;
} }
public static GPXColor getColorFromName(String s) { public static GPXColor getColorFromName(String s) {
for(GPXColor c : values()) { for (GPXColor c : values()) {
if(c.name().equalsIgnoreCase(s)) { if (c.name().equalsIgnoreCase(s)) {
return c; return c;
} }
} }