From 1dc226ccb427b06b08d3e01a351fa23d7f3005b8 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Fri, 15 Feb 2019 12:02:38 +0100 Subject: [PATCH] Fix formatting --- .../main/java/net/osmand/GPXUtilities.java | 27 ++++++++++--------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/OsmAnd-java/src/main/java/net/osmand/GPXUtilities.java b/OsmAnd-java/src/main/java/net/osmand/GPXUtilities.java index 04097e91d3..cf7ba251d7 100644 --- a/OsmAnd-java/src/main/java/net/osmand/GPXUtilities.java +++ b/OsmAnd-java/src/main/java/net/osmand/GPXUtilities.java @@ -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 {