Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix javadoc parameters to follow actual parameters names.

  • Loading branch information...
commit 388c6c0a6950aa4bbdbcaf380b3d3bd0c8c510d9 1 parent 5cba940
@ming13 ming13 authored
View
4 library/src/com/cyrilmottier/polaris/CoordinateRegion.java
@@ -74,7 +74,7 @@ public CoordinateRegion(int latitude, int longitude, int latitudeSpan, int longi
* Create a new region, initialized with the values in the specified region
* (which is left unmodified).
*
- * @param r The region whose coordinates are copied into this region.
+ * @param region The region whose coordinates are copied into this region.
*/
public CoordinateRegion(CoordinateRegion region) {
this.latitude = region.latitude;
@@ -140,7 +140,7 @@ public void set(int latitude, int longitude, int latitudeSpan, int longitudeSpan
/**
* Copy the coordinates into this {@link CoordinateRegion}.
*
- * @param src The region whose coordinates are copied into this region
+ * @param region The region whose coordinates are copied into this region
*/
public void set(CoordinateRegion region) {
latitude = region.latitude;
View
2  library/src/com/cyrilmottier/polaris/MapViewUtils.java
@@ -82,7 +82,7 @@ public static void smoothCenterOnUserLocation(MapView mapView, MyLocationOverlay
* @param mapView The {@link MapView} to animate
* @param myLocationOverlay The {@link MyLocationOverlay} whose location
* will be used to determine the user location.
- * @param errorMessageId The message to display in case no location is
+ * @param errorMessage The message to display in case no location is
* available.
*/
public static void smoothCenterOnUserLocation(MapView mapView, MyLocationOverlay myLocationOverlay, String errorMessage) {
View
2  library/src/com/cyrilmottier/polaris/PolarisMapView.java
@@ -490,7 +490,7 @@ public void setOnRegionChangedListenerListener(OnRegionChangedListener listener)
/**
* Set a new {@link OnMapViewLongClickListener}.
*
- * @param listener The new {@link OnMapViewLongClickListener}
+ * @param l The new {@link OnMapViewLongClickListener}
*/
public void setOnMapViewLongClickListener(OnMapViewLongClickListener l) {
mOnMapViewLongClickListener = l;
Please sign in to comment.
Something went wrong with that request. Please try again.