Remove explicit list type from quickActionTypes

This commit is contained in:
Vitaliy 2020-04-03 18:39:19 +03:00
parent 6438de2c82
commit 32ddf71193
4 changed files with 4 additions and 4 deletions

View file

@ -141,7 +141,7 @@ public class OsmEditingPlugin extends OsmandPlugin {
@Override
protected List<QuickActionType> getQuickActionTypes() {
ArrayList<QuickActionType> quickActionTypes = new ArrayList<>();
List<QuickActionType> quickActionTypes = new ArrayList<>();
quickActionTypes.add(AddPOIAction.TYPE);
quickActionTypes.add(AddOSMBugAction.TYPE);
quickActionTypes.add(ShowHideOSMBugAction.TYPE);

View file

@ -634,7 +634,7 @@ public class ParkingPositionPlugin extends OsmandPlugin {
@Override
protected List<QuickActionType> getQuickActionTypes() {
ArrayList<QuickActionType> quickActionTypes = new ArrayList<>();
List<QuickActionType> quickActionTypes = new ArrayList<>();
quickActionTypes.add(ParkingAction.TYPE);
return quickActionTypes;
}

View file

@ -684,7 +684,7 @@ public class OsmandRasterMapsPlugin extends OsmandPlugin {
@Override
protected List<QuickActionType> getQuickActionTypes() {
ArrayList<QuickActionType> quickActionTypes = new ArrayList<>();
List<QuickActionType> quickActionTypes = new ArrayList<>();
quickActionTypes.add(MapSourceAction.TYPE);
quickActionTypes.add(MapOverlayAction.TYPE);
quickActionTypes.add(MapUnderlayAction.TYPE);

View file

@ -521,7 +521,7 @@ public class SRTMPlugin extends OsmandPlugin {
@Override
protected List<QuickActionType> getQuickActionTypes() {
ArrayList<QuickActionType> quickActionTypes = new ArrayList<>();
List<QuickActionType> quickActionTypes = new ArrayList<>();
quickActionTypes.add(ContourLinesAction.TYPE);
quickActionTypes.add(TerrainAction.TYPE);
return quickActionTypes;