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),
|
||||
TEAL(0xFF008080);
|
||||
|
||||
int color;
|
||||
GPXColor(int color) {
|
||||
this.color = color;
|
||||
}
|
||||
int color;
|
||||
|
||||
public static GPXColor getColorFromName(String s) {
|
||||
for(GPXColor c : values()) {
|
||||
if(c.name().equalsIgnoreCase(s)) {
|
||||
return c;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
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 {
|
||||
|
|
Loading…
Reference in a new issue