#984 local variable inference changes (#1025)

* #984 Fix for abstract-document, abstract-factory, acyclic-visitor, adapter, aggregator-microservices

* #984 Fix for abstract-document, abstract-factory, acyclic-visitor, adapter, aggregator-microservices
This commit is contained in:
Anurag870
2019-10-20 21:31:02 +05:30
committed by Ilkka Seppälä
parent 2217fbc5ff
commit f00ebe1a8d
12 changed files with 33 additions and 52 deletions

View File

@ -61,7 +61,7 @@ public abstract class AbstractDocument implements Document {
@Override
public String toString() {
StringBuilder builder = new StringBuilder();
var builder = new StringBuilder();
builder.append(getClass().getName()).append("[");
properties.forEach((key, value) -> builder.append("[").append(key).append(" : ").append(value).append("]"));
builder.append("]");