Fix formatting
This commit is contained in:
parent
47fbef7828
commit
1dc226ccb4
1 changed files with 14 additions and 13 deletions
|
@ -78,13 +78,14 @@ public class GPXUtilities {
|
|||
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)) {
|
||||
for (GPXColor c : values()) {
|
||||
if (c.name().equalsIgnoreCase(s)) {
|
||||
return c;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue