mirror of https://github.com/M66B/FairEmail.git
Refactoring
This commit is contained in:
parent
7c3687a6f7
commit
701a35b5d7
|
@ -986,13 +986,13 @@ public class HtmlHelper {
|
||||||
int r = 0;
|
int r = 0;
|
||||||
for (Element row : rows) {
|
for (Element row : rows) {
|
||||||
r++;
|
r++;
|
||||||
Elements rowcol = row.children();
|
Elements cols = row.children();
|
||||||
if (c < rowcol.size()) {
|
if (c < cols.size()) {
|
||||||
Element cell = rowcol.get(c).clone().tagName("div");
|
Element cell = cols.get(c).clone().tagName("div");
|
||||||
if (tdebug) {
|
if (tdebug) {
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.append(rowcol.get(c).tagName() + "=" + rowcol.get(c).className());
|
sb.append(cols.get(c).tagName() + "=" + cols.get(c).className());
|
||||||
for (Node node : rowcol.get(c).childNodes()) {
|
for (Node node : cols.get(c).childNodes()) {
|
||||||
sb.append(':');
|
sb.append(':');
|
||||||
if (node instanceof Element)
|
if (node instanceof Element)
|
||||||
sb.append(node.nodeName());
|
sb.append(node.nodeName());
|
||||||
|
|
Loading…
Reference in New Issue