From 32ddf71193682787f78e0f06bbf0393f81292be3 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Fri, 3 Apr 2020 18:39:19 +0300 Subject: [PATCH] Remove explicit list type from quickActionTypes --- OsmAnd/src/net/osmand/plus/osmedit/OsmEditingPlugin.java | 2 +- .../src/net/osmand/plus/parkingpoint/ParkingPositionPlugin.java | 2 +- .../src/net/osmand/plus/rastermaps/OsmandRasterMapsPlugin.java | 2 +- OsmAnd/src/net/osmand/plus/srtmplugin/SRTMPlugin.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/osmedit/OsmEditingPlugin.java b/OsmAnd/src/net/osmand/plus/osmedit/OsmEditingPlugin.java index bf29967be1..7657e99abc 100644 --- a/OsmAnd/src/net/osmand/plus/osmedit/OsmEditingPlugin.java +++ b/OsmAnd/src/net/osmand/plus/osmedit/OsmEditingPlugin.java @@ -141,7 +141,7 @@ public class OsmEditingPlugin extends OsmandPlugin { @Override protected List getQuickActionTypes() { - ArrayList quickActionTypes = new ArrayList<>(); + List quickActionTypes = new ArrayList<>(); quickActionTypes.add(AddPOIAction.TYPE); quickActionTypes.add(AddOSMBugAction.TYPE); quickActionTypes.add(ShowHideOSMBugAction.TYPE); diff --git a/OsmAnd/src/net/osmand/plus/parkingpoint/ParkingPositionPlugin.java b/OsmAnd/src/net/osmand/plus/parkingpoint/ParkingPositionPlugin.java index c7e09b8156..822c5819c5 100644 --- a/OsmAnd/src/net/osmand/plus/parkingpoint/ParkingPositionPlugin.java +++ b/OsmAnd/src/net/osmand/plus/parkingpoint/ParkingPositionPlugin.java @@ -634,7 +634,7 @@ public class ParkingPositionPlugin extends OsmandPlugin { @Override protected List getQuickActionTypes() { - ArrayList quickActionTypes = new ArrayList<>(); + List quickActionTypes = new ArrayList<>(); quickActionTypes.add(ParkingAction.TYPE); return quickActionTypes; } diff --git a/OsmAnd/src/net/osmand/plus/rastermaps/OsmandRasterMapsPlugin.java b/OsmAnd/src/net/osmand/plus/rastermaps/OsmandRasterMapsPlugin.java index d2ee18c6a7..0d2c996d1f 100644 --- a/OsmAnd/src/net/osmand/plus/rastermaps/OsmandRasterMapsPlugin.java +++ b/OsmAnd/src/net/osmand/plus/rastermaps/OsmandRasterMapsPlugin.java @@ -684,7 +684,7 @@ public class OsmandRasterMapsPlugin extends OsmandPlugin { @Override protected List getQuickActionTypes() { - ArrayList quickActionTypes = new ArrayList<>(); + List quickActionTypes = new ArrayList<>(); quickActionTypes.add(MapSourceAction.TYPE); quickActionTypes.add(MapOverlayAction.TYPE); quickActionTypes.add(MapUnderlayAction.TYPE); diff --git a/OsmAnd/src/net/osmand/plus/srtmplugin/SRTMPlugin.java b/OsmAnd/src/net/osmand/plus/srtmplugin/SRTMPlugin.java index 20cbb866b8..3f904f9f91 100644 --- a/OsmAnd/src/net/osmand/plus/srtmplugin/SRTMPlugin.java +++ b/OsmAnd/src/net/osmand/plus/srtmplugin/SRTMPlugin.java @@ -521,7 +521,7 @@ public class SRTMPlugin extends OsmandPlugin { @Override protected List getQuickActionTypes() { - ArrayList quickActionTypes = new ArrayList<>(); + List quickActionTypes = new ArrayList<>(); quickActionTypes.add(ContourLinesAction.TYPE); quickActionTypes.add(TerrainAction.TYPE); return quickActionTypes;