am 989ab6d3: Merge "Update javadoc for android.os.Bundle."

* commit '989ab6d38d77c0a1f7dc5e648e1950410d5d01d4':
  Update javadoc for android.os.Bundle.
This commit is contained in:
Narayan Kamath
2014-06-24 10:08:52 +00:00
committed by Android Git Automerger

View File

@@ -1127,10 +1127,12 @@ public final class Bundle implements Parcelable, Cloneable {
/**
* Returns the value associated with the given key, or defaultValue if
* no mapping of the desired type exists for the given key.
* no mapping of the desired type exists for the given key or if a null
* value is explicitly associated with the given key.
*
* @param key a String, or null
* @param defaultValue Value to return if key does not exist
* @param defaultValue Value to return if key does not exist or if a null
* value is associated with the given key.
* @return the String value associated with the given key, or defaultValue
* if no valid String object is currently mapped to that key.
*/
@@ -1160,10 +1162,12 @@ public final class Bundle implements Parcelable, Cloneable {
/**
* Returns the value associated with the given key, or defaultValue if
* no mapping of the desired type exists for the given key.
* no mapping of the desired type exists for the given key or if a null
* value is explicitly associatd with the given key.
*
* @param key a String, or null
* @param defaultValue Value to return if key does not exist
* @param defaultValue Value to return if key does not exist or if a null
* value is associated with the given key.
* @return the CharSequence value associated with the given key, or defaultValue
* if no valid CharSequence object is currently mapped to that key.
*/