diff --git a/src/main/java/com/fauna/response/ConstraintFailure.java b/src/main/java/com/fauna/response/ConstraintFailure.java index adc257d2..b226b139 100644 --- a/src/main/java/com/fauna/response/ConstraintFailure.java +++ b/src/main/java/com/fauna/response/ConstraintFailure.java @@ -106,7 +106,7 @@ public Builder path(PathElement[] path) { } public ConstraintFailure build() { - PathElement[][] paths = this.paths.toArray(new PathElement[this.paths.size()][]) + PathElement[][] paths = this.paths.toArray(new PathElement[this.paths.size()][]); return new ConstraintFailure(this.message, this.name, this.paths.isEmpty() ? null : paths); }