only print Vertex value if it has one
@@ -241,7 +241,9 @@ public abstract class Vertex<T> implements Observable<T> {
}
stringBuilder.append(": ");
stringBuilder.append(this.getClass().getSimpleName());
+ if (hasValue()) {
stringBuilder.append("(" + getValue() + ")");
+ }
return stringBuilder.toString();
}
}
