Remove usage of to-be-deprecated GWT DOM helper methods

These are not all currently deprecated, but are deprecated in GWT
master, e.g.:
https://gwt.googlesource.com/gwt/+/a6044a4a54c352b2709d27dd1907e977ce1607ad

This change was produced with an automated tool courtesy of the GWT
team.

Change-Id: Ie5401a3e2231bad7099c4ff35e2c64d77cbbb33b
This commit is contained in:
Dave Borowitz
2013-10-02 10:36:39 -07:00
parent cdae61f015
commit 9577768bf4
17 changed files with 24 additions and 34 deletions

View File

@@ -175,14 +175,14 @@ public class ApprovalTable extends Composite {
private void removeAllChildren(Element el) {
for (int i = DOM.getChildCount(el) - 1; i >= 0; i--) {
DOM.removeChild(el, DOM.getChild(el, i));
el.removeChild(DOM.getChild(el, i));
}
}
private void addMissingLabel(String text) {
Element li = DOM.createElement("li");
li.setClassName(Gerrit.RESOURCES.css().missingApproval());
DOM.setInnerText(li, text);
li.setInnerText(text);
DOM.appendChild(missing.getElement(), li);
}