Skip to content

Commit

Permalink
make Builder constructor private, use available Builder.newInstance m…
Browse files Browse the repository at this point in the history
…ethod instead
  • Loading branch information
kt86 committed Dec 20, 2024
1 parent 5d71e55 commit da488be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public Builder(Id<Link> pickupLinkId, Id<Link> deliveryLinkId, int demand) {
this.demand = demand;
}

public Builder(Id<CarrierShipment> id, Id<Link> pickupLinkId, Id<Link> deliveryLinkId, int demand) {
private Builder(Id<CarrierShipment> id, Id<Link> pickupLinkId, Id<Link> deliveryLinkId, int demand) {
super();
this.id = id;
this.pickupLinkId = pickupLinkId;
Expand Down

0 comments on commit da488be

Please sign in to comment.