aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/test/java/com/vaadin/tests/design/DeclarativeTestBaseBase.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/test/java/com/vaadin/tests/design/DeclarativeTestBaseBase.java')
-rw-r--r--server/src/test/java/com/vaadin/tests/design/DeclarativeTestBaseBase.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/src/test/java/com/vaadin/tests/design/DeclarativeTestBaseBase.java b/server/src/test/java/com/vaadin/tests/design/DeclarativeTestBaseBase.java
index 041df2deee..609ec6d620 100644
--- a/server/src/test/java/com/vaadin/tests/design/DeclarativeTestBaseBase.java
+++ b/server/src/test/java/com/vaadin/tests/design/DeclarativeTestBaseBase.java
@@ -277,15 +277,15 @@ public abstract class DeclarativeTestBaseBase<T extends Component> {
}
Collections.sort(names);
- sb.append("<").append(producedElem.tagName()).append("");
+ sb.append('<').append(producedElem.tagName());
for (String attrName : names) {
- sb.append(" ").append(attrName);
+ sb.append(' ').append(attrName);
if (!booleanAttributes.contains(attrName)) {
- sb.append("=").append("\'").append(producedElem.attr(attrName))
+ sb.append('=').append("\'").append(producedElem.attr(attrName))
.append("\'");
}
}
- sb.append(">");
+ sb.append('>');
for (Node child : producedElem.childNodes()) {
if (child instanceof Element) {
elementToHtml((Element) child, sb);
@@ -294,7 +294,7 @@ public abstract class DeclarativeTestBaseBase<T extends Component> {
sb.append(text.trim());
}
}
- sb.append("</").append(producedElem.tagName()).append(">");
+ sb.append("</").append(producedElem.tagName()).append('>');
return sb.toString();
}