From c51df90e0514da884331444b140b9ca8a83b5c0d Mon Sep 17 00:00:00 2001 From: Chumva Date: Sat, 13 Jul 2019 13:08:28 +0300 Subject: [PATCH] Remove unnecessary changes --- .../net/osmand/plus/myplaces/TrackBitmapDrawer.java | 10 +++++----- OsmAnd/src/net/osmand/plus/views/Renderable.java | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/myplaces/TrackBitmapDrawer.java b/OsmAnd/src/net/osmand/plus/myplaces/TrackBitmapDrawer.java index 7a8738d47f..a1e46f7e38 100644 --- a/OsmAnd/src/net/osmand/plus/myplaces/TrackBitmapDrawer.java +++ b/OsmAnd/src/net/osmand/plus/myplaces/TrackBitmapDrawer.java @@ -12,13 +12,13 @@ import android.support.annotation.Nullable; import android.support.v4.content.ContextCompat; import net.osmand.AndroidUtils; -import net.osmand.GPXUtilities; -import net.osmand.GPXUtilities.GPXFile; -import net.osmand.GPXUtilities.TrkSegment; import net.osmand.data.LatLon; import net.osmand.data.QuadRect; import net.osmand.data.RotatedTileBox; import net.osmand.plus.GPXDatabase.GpxDataItem; +import net.osmand.GPXUtilities; +import net.osmand.GPXUtilities.GPXFile; +import net.osmand.GPXUtilities.TrkSegment; import net.osmand.plus.GpxSelectionHelper; import net.osmand.plus.OsmandApplication; import net.osmand.plus.R; @@ -246,8 +246,8 @@ public class TrackBitmapDrawer { } } paint.setColor(color == 0 ? trackColor : color); - if (ts.renderer instanceof Renderable.RenderableSegment) { - ((Renderable.RenderableSegment) ts.renderer).drawSegment(tileBox.getZoom(), paint, canvas, tileBox); + if(ts.renderer instanceof Renderable.RenderableSegment) { + ((Renderable.RenderableSegment)ts.renderer).drawSegment(tileBox.getZoom(), paint, canvas, tileBox); } } } diff --git a/OsmAnd/src/net/osmand/plus/views/Renderable.java b/OsmAnd/src/net/osmand/plus/views/Renderable.java index ed721b4582..c4581c329e 100644 --- a/OsmAnd/src/net/osmand/plus/views/Renderable.java +++ b/OsmAnd/src/net/osmand/plus/views/Renderable.java @@ -15,7 +15,7 @@ import java.util.concurrent.Executors; public class Renderable { - public static final Executor THREAD_POOL_EXECUTOR = Executors.newFixedThreadPool(5); + private static final Executor THREAD_POOL_EXECUTOR = Executors.newFixedThreadPool(5); public static abstract class RenderableSegment {