Skip to content
Snippets Groups Projects
Commit 12956757 authored by Goik Martin's avatar Goik Martin
Browse files

Simplify he beast!

parent 26c0c184
No related branches found
No related tags found
No related merge requests found
......@@ -43,10 +43,8 @@ public class TablePresentation {
final Element tr = new Element("tr");
if (setBackground) {
tr.setAttribute("style", "background-color: #FFFF88;");
setBackground = false;
} else {
setBackground = true;
}
}
setBackground = !setBackground;
table.addContent(tr);
tr.addContent(new Element("td").addContent(person.getChild("name").getText()));
tr.addContent(new Element("td").addContent(person.getChild("birthday").getText()));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment