Skip to content

Commit

Permalink
update Schema.Builder to return subclassed builder
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshMcCullough committed Aug 17, 2022
1 parent 5eeae5c commit c643d4f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/src/main/java/org/everit/json/schema/ConstSchema.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ protected Builder getBuilder()
return this;
}

@Override
protected Builder getBuilder()
{
return this;
}

@Override public ConstSchema build() {
return new ConstSchema(this);
}
Expand Down

0 comments on commit c643d4f

Please sign in to comment.