diff --git a/contribs/freight/src/main/java/org/matsim/freight/carriers/CarrierShipment.java b/contribs/freight/src/main/java/org/matsim/freight/carriers/CarrierShipment.java index 93e9dc590fe..3955d7b1756 100644 --- a/contribs/freight/src/main/java/org/matsim/freight/carriers/CarrierShipment.java +++ b/contribs/freight/src/main/java/org/matsim/freight/carriers/CarrierShipment.java @@ -102,7 +102,7 @@ public Builder(Id pickupLinkId, Id deliveryLinkId, int demand) { this.demand = demand; } - public Builder(Id id, Id pickupLinkId, Id deliveryLinkId, int demand) { + private Builder(Id id, Id pickupLinkId, Id deliveryLinkId, int demand) { super(); this.id = id; this.pickupLinkId = pickupLinkId;