diff options
| author | 2013-03-07 22:14:18 +0000 | |
|---|---|---|
| committer | 2013-03-07 22:14:18 +0000 | |
| commit | b1b6efd0829f55c4331218bf67b34a89aeb7d87f (patch) | |
| tree | 504a8bf99da4975564ee169fe1f14651eefd4dba | |
| parent | 3afc18af2cea898753b10e8575dcf20c11356bca (diff) | |
| parent | 8ad7fbae871c9e08b217554b0b5757365ff487c1 (diff) | |
Merge "Specify the size of the Map in the constructor" into jb-mr2-dev
| -rw-r--r-- | core/java/android/os/Bundle.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/os/Bundle.java b/core/java/android/os/Bundle.java index 18a0018a22c8..b8769b4d50fb 100644 --- a/core/java/android/os/Bundle.java +++ b/core/java/android/os/Bundle.java @@ -218,7 +218,7 @@ public final class Bundle implements Parcelable, Cloneable { return; } if (mMap == null) { - mMap = new HashMap<String, Object>(); + mMap = new HashMap<String, Object>(N); } mParcelledData.readMapInternal(mMap, N, mClassLoader); mParcelledData.recycle(); |