gson-comments/gson/src/main/java
Jesse Wilson 1840466704 Fix a nasty bug where elements in LinkedHashTreeMap could be dropped.
The underlying problem is that the doubleCapacity function would drop the parent links when all nodes ended up on the same side in a doubling. This was caused by the fact that the AvlIterator was destructive on parent nodes, and we weren't putting them back together with the AvlBuilder. This removes an incorrect optimization and fixes the problem.

Also move LinkedHashTreeMap back into main from test.
2013-05-14 21:43:20 +00:00
..
com/google/gson Fix a nasty bug where elements in LinkedHashTreeMap could be dropped. 2013-05-14 21:43:20 +00:00