Skip to content
This repository
Browse code

Fix javadoc parameters to follow actual parameters names.

  • Loading branch information...
commit 388c6c0a6950aa4bbdbcaf380b3d3bd0c8c510d9 1 parent 5cba940
Artur Dryomov ming13 authored
4 library/src/com/cyrilmottier/polaris/CoordinateRegion.java
@@ -74,7 +74,7 @@ public CoordinateRegion(int latitude, int longitude, int latitudeSpan, int longi
74 74 * Create a new region, initialized with the values in the specified region
75 75 * (which is left unmodified).
76 76 *
77   - * @param r The region whose coordinates are copied into this region.
  77 + * @param region The region whose coordinates are copied into this region.
78 78 */
79 79 public CoordinateRegion(CoordinateRegion region) {
80 80 this.latitude = region.latitude;
@@ -140,7 +140,7 @@ public void set(int latitude, int longitude, int latitudeSpan, int longitudeSpan
140 140 /**
141 141 * Copy the coordinates into this {@link CoordinateRegion}.
142 142 *
143   - * @param src The region whose coordinates are copied into this region
  143 + * @param region The region whose coordinates are copied into this region
144 144 */
145 145 public void set(CoordinateRegion region) {
146 146 latitude = region.latitude;
2  library/src/com/cyrilmottier/polaris/MapViewUtils.java
@@ -82,7 +82,7 @@ public static void smoothCenterOnUserLocation(MapView mapView, MyLocationOverlay
82 82 * @param mapView The {@link MapView} to animate
83 83 * @param myLocationOverlay The {@link MyLocationOverlay} whose location
84 84 * will be used to determine the user location.
85   - * @param errorMessageId The message to display in case no location is
  85 + * @param errorMessage The message to display in case no location is
86 86 * available.
87 87 */
88 88 public static void smoothCenterOnUserLocation(MapView mapView, MyLocationOverlay myLocationOverlay, String errorMessage) {
2  library/src/com/cyrilmottier/polaris/PolarisMapView.java
@@ -490,7 +490,7 @@ public void setOnRegionChangedListenerListener(OnRegionChangedListener listener)
490 490 /**
491 491 * Set a new {@link OnMapViewLongClickListener}.
492 492 *
493   - * @param listener The new {@link OnMapViewLongClickListener}
  493 + * @param l The new {@link OnMapViewLongClickListener}
494 494 */
495 495 public void setOnMapViewLongClickListener(OnMapViewLongClickListener l) {
496 496 mOnMapViewLongClickListener = l;

0 comments on commit 388c6c0

Please sign in to comment.
Something went wrong with that request. Please try again.