Hello,
For same reason that JAVA-2000,
Add toString() methods to model class :
public class Field<TExpression> { @Override public String toString() { return "Field{" + "name='" + name + '\'' + ", value=" + value + '}'; } }
And correct existing toString() :
public String toString() {
return "Stage{"
+ "name='$bucketAuto'"
+ "buckets=" + buckets // the comma is missing, so the previous line is concatenated to this one without separator
+ ", groupBy=" + groupBy
+ ", options=" + options
+ '}';
I'm woking on PR.
- is related to
-
JAVA-2000 Add toString() methods to Bson instances returned from static builder methods
-
- Closed
-