History log of /libcore/luni/src/main/java/java/util/prefs/XMLParser.java
Revision Date Author Comments
0d4daefcf389b6433a0af481ef44a84a2546541a 21-May-2011 Elliott Hughes <enh@google.com> Suppress some FindBugs warnings.

Also globally replace "for(" with "for (".

Change-Id: I27fe17460e6745b9ca823f42e57c86fe8af31979
c363316bb6da97b7af82491f5951341b881401f3 25-Feb-2011 Elliott Hughes <enh@google.com> Fix more FindBugs warnings: instanceof again.

Looks like FindBugs won't show you the same warning twice in the same method...

Change-Id: I1136610fd48fd075520b7595ee8230409cd21d96
c0d1705423cf565f87a529a03596013c1208a920 25-Feb-2011 Elliott Hughes <enh@google.com> Fix more FindBugs warnings: BC_VACUOUS_INSTANCEOF.

"This instanceof test will always return true (unless the value being
tested is null)."

Change-Id: Ie95c71bee4198c1e343076058110ff0cfab51e0b
66e1a782c0ffafcb7c4226798d6ecc4cfc071916 18-Feb-2011 Elliott Hughes <enh@google.com> Fix a few small preferences/properties bugs.

We were incorrectly turning \ into &apos; when writing preferences as XML.

We were concatenating strings with + in a loop to work around something that's
since been fixed.

We were using an invalid Unicode escape where we could use a simple literal.

Change-Id: I8882c43ba914254155505f55c66c2480e268f034
035932b8f19aeb0eb5b25a0b6cbe7f0ab3567dde 14-Feb-2011 Jesse Wilson <jessewilson@google.com> Test to show that deleting prefs files is consistent with the RI.

http://b/3431233

Change-Id: Id20db6e86ef3521450b240418e7a8652be9681aa
e26ba79900d471d02d656f686926918ef7dc751f 08-Feb-2011 Elliott Hughes <enh@google.com> Use int.class instead of Integer.TYPE (et cetera) for clarity.

I've also removed some small amount of duplication and a few unused imports.

Change-Id: Ie52477484bade74c80a348ad1261b596f9053cf6
6186821cb13f4ac7ff50950c813394367e021eae 08-Feb-2011 Jesse Wilson <jessewilson@google.com> Move libcore.base classes to libcore.util and libcore.io.

Change-Id: I2340a9dbad3561fa681a8ab47d4f406e72c913e3
dd220429d44e23aa397694c9c8d64d4ba16437c4 07-Feb-2011 Jesse Wilson <jessewilson@google.com> Avoid file locks in java.util.prefs.

File locks were causing tests to hang when run in parallel. I've filed a
separate bug to investigate that. http://b/3430640

Change-Id: I44c46957c0ffb624acdb3fd8ba156e02cbc7798b
fb0ec0e650bf8be35acb0d47da0311a7c446aa33 14-Jan-2011 Elliott Hughes <enh@google.com> Remove useless android-changed comments.

I've changed useful ones to regular comments or TODOs, as appropriate.

I've left ones in code like java.util.concurrent where we really are
tracking an upstream source, making the change markers useful.

I've left a handful of others where I intend to actually investigate
the implied TODOs before deciding how to resolve them.

Change-Id: Iaf71059b818596351cf8ee5a3cf3c85586051fa6
ad41624e761bcf1af9c8008eb45187fc13983717 07-Jan-2011 Elliott Hughes <enh@google.com> Retire SecurityManager.

This change removes all the code that was calling getSecurityManager, and
removes all use of AccessController.doPrivileged. It also changes the
implementation of AccessController so it doesn't actually do anything; it's
only there for source-level compatibility.

Bug: 2585285
Change-Id: I1f0295a4f12bce0316d8073011d8593fee116f71
693eacca9fa67ad79d1b35dbaad61c5ac1ac457c 10-Nov-2010 Elliott Hughes <enh@google.com> Stop allocating empty arrays.

Bug: 3166662
Change-Id: I151de373b2bf53786d19824336fa434c02b0b0e8
eae0b615a8f9aba8e8e789f0fb941ee27a0833c2 08-Nov-2010 Jesse Wilson <jessewilson@google.com> Explicitly specify the content encoding when parsing preferences.

Without this the XML parser needs to guess the encoding, which
turns out to be a fairly block of code. Avoid that since we know
the encoding is always UTF-8.

Change-Id: I265d602e7e3ba2cd8ee3e3aa564dab24a636ad85
a7a70410e26802f3ab480b08a1ab499338cb6f7e 03-Oct-2010 Jesse Wilson <jessewilson@google.com> Use IoUtils.closeQuietly where possible.

Change-Id: I354c1e00b7068108032d09c0a1c38e29f6283fb0
7f0c06f737b6f1f6b3a5bb30111f95dd0ca586a2 02-Sep-2010 Brian Carlstrom <bdc@google.com> Don't use StringBuffer where we don't need to.

I've left xalan alone, because that's just one big steaming heap.

Change-Id: Ibf7b2b5e347196d4de857217b022003ccc409ac5
328f533a177f7579a9ea916f5569053ec9c149b8 01-Sep-2010 Elliott Hughes <enh@google.com> Don't use StringBuffer where we don't need to.

I've left xalan alone, because that's just one big steaming heap.

Change-Id: I47e80399ebced922656e46dacd8dcbfc698e94f8
7365de1056414750d0a7d1fdd26025fd247f0d04 12-Aug-2010 Jesse Wilson <jessewilson@google.com> Sorting imports.

Change-Id: I8347bc625480a1c37a1ed9976193ddfedeb00bbc
f33eae7e84eb6d3b0f4e86b59605bb3de73009f3 13-May-2010 Elliott Hughes <enh@google.com> Remove all trailing whitespace from the dalvik team-maintained parts of libcore.

Gentlemen, you may now set your editors to "strip trailing whitespace"...

Change-Id: I85b2f6c80e5fbef1af6cab11789790b078c11b1b
d21d78fd49a2d798218e8c8aefbddb26a0e71bbb 13-May-2010 Elliott Hughes <enh@google.com> Convert tabs to spaces.

Change-Id: I16cfbd2faac6b565b78b5dd97e2345323a36f652
6b811c5daec1b28e6f63b57f98a032236f2c3cf7 03-May-2010 Peter Hallam <peterhal@google.com> Merge awt-kernel, icu, luni-kernel, prefs, security-kernel, x-net into luni
Merge xml except xmlpull and kxml into luni