diff options
Diffstat (limited to 'location')
-rw-r--r-- | location/java/android/location/Location.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/location/java/android/location/Location.java b/location/java/android/location/Location.java index f6bf76c..672e378 100644 --- a/location/java/android/location/Location.java +++ b/location/java/android/location/Location.java @@ -93,7 +93,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. @@ -849,10 +849,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()); } |