API REVIEW: Undeprecate Location.dump()

Bug #7173109

Change-Id: Ia2f4a5b6255dae7ace4702f7d66ec30a077c9c79
This commit is contained in:
Romain Guy
2012-09-21 11:20:00 -07:00
parent 11cb642756
commit 8a624ef0fe
2 changed files with 2 additions and 6 deletions

View File

@@ -83,7 +83,7 @@ public class Location implements Parcelable {
private float mDistance = 0.0f;
private float mInitialBearing = 0.0f;
// Scratchpad
private float[] mResults = new float[2];
private final float[] mResults = new float[2];
/**
* Construct a new Location with a named provider.
@@ -839,10 +839,6 @@ public class Location implements Parcelable {
return s.toString();
}
/**
* @deprecated Use {@link #toString} instead
*/
@Deprecated
public void dump(Printer pw, String prefix) {
pw.println(prefix + toString());
}