From 6c57ce595010e4cace886ca90073d387fd23ff0e Mon Sep 17 00:00:00 2001 From: Chumva Date: Mon, 5 Mar 2018 11:09:16 +0200 Subject: [PATCH] refactored some code --- .../parkingpoint/ParkingTypeBottomSheetDialogFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/parkingpoint/ParkingTypeBottomSheetDialogFragment.java b/OsmAnd/src/net/osmand/plus/parkingpoint/ParkingTypeBottomSheetDialogFragment.java index a8c586940e..3db8c6040b 100644 --- a/OsmAnd/src/net/osmand/plus/parkingpoint/ParkingTypeBottomSheetDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/parkingpoint/ParkingTypeBottomSheetDialogFragment.java @@ -52,8 +52,8 @@ public class ParkingTypeBottomSheetDialogFragment extends MenuBottomSheetDialogF private void addParkingPosition(boolean limited) { Bundle args = getArguments(); - Double latitude = args.getDouble(LAT_KEY); - Double longitude = args.getDouble(LON_KEY); + double latitude = args.getDouble(LAT_KEY); + double longitude = args.getDouble(LON_KEY); ParkingPositionPlugin plugin = OsmandPlugin.getEnabledPlugin(ParkingPositionPlugin.class); MapActivity mapActivity = (MapActivity) getActivity();