Permalink
Browse files

Fix javadoc parameters to follow actual parameters names.

  • Loading branch information...
1 parent 5cba940 commit 388c6c0a6950aa4bbdbcaf380b3d3bd0c8c510d9 @ming13 ming13 committed Oct 19, 2012
@@ -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;
@@ -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) {
@@ -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;

0 comments on commit 388c6c0

Please sign in to comment.