Use String concatenation instead of StringBuffer/Builder
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / stmt / rfc6020 / effective / LeafListEffectiveStatementImpl.java
index 7f391833ba950243e26fb55e3454299ed2a8c672..de1322110d1db580e560bc9133714a1447976713 100644 (file)
@@ -105,10 +105,8 @@ public final class LeafListEffectiveStatementImpl extends AbstractEffectiveDataS
 
     @Override
     public String toString() {
-        StringBuilder sb = new StringBuilder(LeafListEffectiveStatementImpl.class.getSimpleName());
-        sb.append("[");
-        sb.append(getQName());
-        sb.append("]");
-        return sb.toString();
+        return LeafListEffectiveStatementImpl.class.getSimpleName() + "[" +
+                getQName() +
+                "]";
     }
 }