On Fri, Oct 19, 2012 at 5:50 AM, <[email protected]> wrote: > D'oh, where was I when Element#setInnerSafeHtml was added? Didn't know > it even existed! >
Yep, I added it last December. Just finally getting around to cleaning up the old code though. :) Except you missed one that spans 2 lines in ImageLoadingCell. > (caught using "grep -R -A 1 'setInnerHTML' user/src/com/google/gwt/ > |grep asString |grep -v setInnerHTML" ;-) ) > FWIW, I used Error Prone[1] to do this refactoring. "Not as clumsy or random as a regex; an elegant tool, for a more civilized age." :) [1] http://code.google.com/p/error-prone/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
