String performance and maintenability
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / messages / RemotePrimaryShardFound.java
index d3e27dba95b847c4b6ad65487acb9e0bd1f28245..fbe34b2ed7c4e1a9149345713efc36e9318f2dd6 100644 (file)
@@ -34,9 +34,7 @@ public class RemotePrimaryShardFound implements Serializable {
 
     @Override
     public String toString() {
-        StringBuilder builder = new StringBuilder();
-        builder.append("RemotePrimaryShardFound [primaryPath=").append(primaryPath).append(", primaryVersion=")
-                .append(primaryVersion).append("]");
-        return builder.toString();
+        return "RemotePrimaryShardFound [primaryPath=" + primaryPath
+                + ", primaryVersion=" + primaryVersion + "]";
     }
 }