From 70cbb346e74eee8531a06d90521886eeef82efab Mon Sep 17 00:00:00 2001 From: Mariona DSR Date: Thu, 27 Jul 2017 01:50:43 +0200 Subject: [PATCH] Small style fixes (#410) * Removed unused imports * Comment fixed (no javadoc inside methods) * Removed unnecessary semicolon * If expression simplified * Declaring values as List to avoid castings * Removed unnecessary casting * Removed unused imports, Comment fixed (no javadoc inside methods), Declaring type of list * Internationalization * Using a constant * Removed unused resources * Using ellipsis character * If to swicth, while to foreach --- demo/res/layout/heatmaps_demo.xml | 6 ++-- demo/res/values/strings.xml | 8 ++--- .../CustomMarkerClusteringDemoActivity.java | 1 - .../utils/demo/DistanceDemoActivity.java | 2 -- .../android/utils/demo/MultiDrawable.java | 3 +- .../utils/demo/PolySimplifyDemoActivity.java | 2 +- .../src/com/google/maps/android/PolyUtil.java | 6 +--- ...NonHierarchicalDistanceBasedAlgorithm.java | 2 +- .../clustering/algo/StaticCluster.java | 2 +- .../maps/android/data/MultiGeometry.java | 4 +-- .../android/data/geojson/GeoJsonParser.java | 29 ++++++++++--------- .../maps/android/data/kml/KmlBoolean.java | 5 +--- .../google/maps/android/ui/IconGenerator.java | 27 ++++++++++------- .../com/google/maps/android/PolyUtilTest.java | 7 ++--- .../android/data/geojson/BiMultiMapTest.java | 6 ++-- .../data/geojson/GeoJsonFeatureTest.java | 2 +- 16 files changed, 53 insertions(+), 59 deletions(-) diff --git a/demo/res/layout/heatmaps_demo.xml b/demo/res/layout/heatmaps_demo.xml index 65144bd6c..3c032c23b 100644 --- a/demo/res/layout/heatmaps_demo.xml +++ b/demo/res/layout/heatmaps_demo.xml @@ -14,14 +14,14 @@ android:layout_width="0dp" android:layout_weight="1" android:layout_height="wrap_content" - android:text="Radius" + android:text="@string/button_radius" android:onClick="changeRadius" />