From a3ff0cdd9998bb856a2cf99894cca62081190779 Mon Sep 17 00:00:00 2001 From: Sebastian Buchwald Date: Sun, 28 Apr 2019 12:15:20 +0200 Subject: [PATCH] Consistently use Java style for array declarations --- lib/src/com/mapswithme/maps/api/MapsWithMeApi.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/com/mapswithme/maps/api/MapsWithMeApi.java b/lib/src/com/mapswithme/maps/api/MapsWithMeApi.java index e7fd9cd..c53fc27 100644 --- a/lib/src/com/mapswithme/maps/api/MapsWithMeApi.java +++ b/lib/src/com/mapswithme/maps/api/MapsWithMeApi.java @@ -46,7 +46,7 @@ public final class MapsWithMeApi public static void showMapsWithMeUrl(Activity caller, PendingIntent pendingIntent, double zoomLevel, String url) { final Uri uri = Uri.parse(url); - final String latlon[] = uri.getQueryParameter("ll").split(","); + final String[] latlon = uri.getQueryParameter("ll").split(","); final double lat = Double.parseDouble(latlon[0]); final double lon = Double.parseDouble(latlon[1]); final String name = uri.getQueryParameter("n");