Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1c4027b6 authored by Daniel Lehmann's avatar Daniel Lehmann
Browse files

Small speedup in getAsString and comment fix

Change-Id: I19744983bbc0f4b9060de326bd539137e373415b
parent e521a855
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
    }

    /**