Skip to content

Commit 515b62d

Browse files
committed
Fix visibility of default Builder constructors
1 parent dded9cd commit 515b62d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

smithy-model/src/main/java/software/amazon/smithy/model/shapes/OperationShape.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public static final class Builder extends AbstractShapeBuilder<Builder, Operatio
210210
private ShapeId output = UnitTypeTrait.UNIT;
211211
private final BuilderRef<Set<ShapeId>> errors = BuilderRef.forOrderedSet();
212212

213-
private Builder() {}
213+
public Builder() {}
214214

215215
private Builder(OperationShape shape) {
216216
shape.updateBuilder(this);

smithy-model/src/main/java/software/amazon/smithy/model/shapes/ResourceShape.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public static final class Builder extends EntityShape.Builder<Builder, ResourceS
220220
private ShapeId delete;
221221
private ShapeId list;
222222

223-
private Builder() {}
223+
public Builder() {}
224224

225225
private Builder(ResourceShape shape) {
226226
shape.updateBuilder(this);

0 commit comments

Comments
 (0)