Fixing a bug in CellTree where pushing new data that renders to the same content results in an invalid state where child are still attached to a stale parent.  For example, consider a tree contains IDs that represent objects, but renders the ID using the objects display name.  If two objects with different IDs have the same display name, those two objects will be rendered the same, which CellTree would optimize out.  Now, we perform the detach/reattach logic for child nodes, but we still do not reset the innerHTML.

Sorry for the auto-format and Java 1.6 @Override spam.  This is actually a fairly small change, but I reformatted the files to get rid of checkstyle warnings while I was editing them.

Review at http://gwt-code-reviews.appspot.com/1466803

Review by: tilmansp@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@10376 8db76d5a-ed1c-0410-87a9-c151d255dfc7
5 files changed