diff options
| author | Daniel Lehmann <lehmannd@google.com> | 2010-03-22 20:35:02 -0700 |
|---|---|---|
| committer | Daniel Lehmann <lehmannd@google.com> | 2010-03-23 11:20:45 -0700 |
| commit | 1c4027b68d5938795cc536c1d45e8d942ea537a4 (patch) | |
| tree | ae23bca8c583eb6c2a2b7be4e07708cacce257f5 /core/java/android/content/ContentValues.java | |
| parent | e521a855cd5dec3c043d76107b77cd3fd3a32ad7 (diff) | |
Small speedup in getAsString and comment fix
Change-Id: I19744983bbc0f4b9060de326bd539137e373415b
Diffstat (limited to 'core/java/android/content/ContentValues.java')
| -rw-r--r-- | core/java/android/content/ContentValues.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/content/ContentValues.java b/core/java/android/content/ContentValues.java index c04625d25316..75787cd34610 100644 --- a/core/java/android/content/ContentValues.java +++ b/core/java/android/content/ContentValues.java @@ -66,7 +66,7 @@ public final class ContentValues implements Parcelable { * Creates a set of values copied from the given HashMap. This is used * by the Parcel unmarshalling code. * - * @param from the values to start with + * @param values the values to start with * {@hide} */ private ContentValues(HashMap<String, Object> values) { @@ -248,7 +248,7 @@ public final class ContentValues implements Parcelable { */ public String getAsString(String key) { Object value = mValues.get(key); - return value != null ? mValues.get(key).toString() : null; + return value != null ? value.toString() : null; } /** |
