| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Bug: 3484927
Change-Id: I4cda326a31240135d883528d9cb976a9db084234
|
|
|
|
|
|
| |
Also globally replace "for(" with "for (".
Change-Id: I27fe17460e6745b9ca823f42e57c86fe8af31979
|
|
|
|
|
| |
Bug: 3484927
Change-Id: I1e1ddf9ea84144d737f4c419f37f9854671d267f
|
|
|
|
|
|
| |
I've also removed some small amount of duplication and a few unused imports.
Change-Id: Ie52477484bade74c80a348ad1261b596f9053cf6
|
|
|
|
|
|
|
|
| |
Turns out most callers don't actually give a toss about case anyway, since
they're just for debugging output.
Bug: 3371169
Change-Id: Ib8dc079be2dcbf6f2415ecb9b71d034ee71f68eb
|
|
|
|
|
|
|
|
| |
There's one real bug here: our Integer.toString was supposed to have a cache
for small negative values, but an accidentally-introduced temporary meant we
were never using the cached values. Other than that, this is just cleanup.
Change-Id: I457f9bd166c9a029ba8b439f3bbfa926f9b84cc9
|
|
|
|
|
|
|
|
| |
None of these constructors or decode/parse.*/valueOf methods throw
NumberFormatException when passed null, so they shouldn't claim to do so.
Bug: http://code.google.com/p/android/issues/detail?id=12114
Change-Id: I813cad4457d5db11617b615488efa8f5b4beb1cf
|
|
|
|
|
| |
Bug: 3095335
Change-Id: If0409c6328c2fa2a35e5027e20b4786fe87e693b
|
|
|
|
|
|
|
|
|
| |
state-of-the-art recipes. The resulting code is much faster than what it
replaced, as well as being more concise. While I was in the neighborhood
I also cleaned up a few other things in the boxed primitives (TYPE fields,
small-value caches, etc.).
Addressed review comments.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Notable changes
- Stripped "@since Android 1.0" from many files. Most files
are now 100% the same in Dalvik and Harmony.
- AbstractStringBuilder.reverse() supports surrogates
- AbstractStringBuilder shares less to waste less memory
- Bitset optimized
- BufferedInputStream changed to support unsynchronized close()
- BufferedOutputStream does flushInternal
- BufferedReader supports EBCDIC NEL
- Collections.synchronizedList().indexOf() does a copy for more concurrency
- Classes in nio module changed: DatagramChannelImpl, SocketChannelImpl
and ServerSocketChannelImpl (these depend on internal APIs changed in
this update)
- DataInputStream/DataOutputStream now use a small buffer to limit the
number of times the underlying stream is accessed
- Date now has a minutes offset, more efficient toString()
- ExposedByteArrayInputStream: new internal class
- DeleteOnExit moved to top-level class
- FileDescriptor.isValid() now non-native
- Float, Double lessThan optimized (fix for compare(-0.0F, 0.0F) still pending)
- FileURLConnection now guesses content types from streams
- HashMap iterator changes
- Hashtable iterator changes
- INetworkSystem
- removes bind2(), createMulticastSocket, sendStream(),
- renames createSocket to createStreamSocket
- JarURLConnection rewritten
- LinkedHashMap: new iterator
- Locale, Currency, TimeZone: now use ICU in Harmony, plain Java in Dalvik
- ObjectInputStream: Accessor objects in Harmony, direct native in Dalvik
- ProxyClassFile - many changes
- String - optimized ascii for toLowerCase, toUpperCase, compare
- Timer - rewritten
- TreeMap - rewritten
- URLClassLoader - new
- URLConnection - new guessContentTypeFromStream(), uses org.apache.harmony.awt.www.content
to lookup content type handlers
|
| |
|
| |
|
| |
|
|
|