Use String concatenation instead of StringBuffer/Builder
[yangtools.git] / yang / yang-model-util / src / main / java / org / opendaylight / yangtools / yang / model / util / BitsType.java
index 588e6d04c060f994555c031a6549588c5311253c..71fae9ea5445bfd8d68f578c031fa22fa60fe636 100644 (file)
@@ -174,20 +174,18 @@ public final class BitsType implements BitsTypeDefinition {
 
     @Override
     public String toString() {
-        StringBuilder builder = new StringBuilder();
-        builder.append("BitsType [name=");
-        builder.append(NAME);
-        builder.append(", path=");
-        builder.append(path);
-        builder.append(", description=");
-        builder.append(DESCRIPTION);
-        builder.append(", reference=");
-        builder.append(REFERENCE);
-        builder.append(", bits=");
-        builder.append(bits);
-        builder.append(", units=");
-        builder.append(UNITS);
-        builder.append("]");
-        return builder.toString();
+        return "BitsType [name=" +
+                NAME +
+                ", path=" +
+                path +
+                ", description=" +
+                DESCRIPTION +
+                ", reference=" +
+                REFERENCE +
+                ", bits=" +
+                bits +
+                ", units=" +
+                UNITS +
+                "]";
     }
 }