Skip to content

Commit

Permalink
make vars in Builder private
Browse files Browse the repository at this point in the history
  • Loading branch information
kt86 committed Dec 20, 2024
1 parent e700fea commit 27984fa
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@ public final class CarrierShipment implements CarrierJob {
*/
public static class Builder {

Id<CarrierShipment> id;
final int demand;
private Id<CarrierShipment> id;
private final int demand;

final Id<Link> pickupLinkId;
TimeWindow pickupStartsTimeWindow = TimeWindow.newInstance(0.0, Integer.MAX_VALUE);
double pickupDuration = 0.0;
private final Id<Link> pickupLinkId;
private TimeWindow pickupStartsTimeWindow = TimeWindow.newInstance(0.0, Integer.MAX_VALUE);
private double pickupDuration = 0.0;

final Id<Link> deliveryLinkId;
TimeWindow deliveryStartsTimeWindow = TimeWindow.newInstance(0.0, Integer.MAX_VALUE);
double deliveryDuration = 0.0;
private final Id<Link> deliveryLinkId;
private TimeWindow deliveryStartsTimeWindow = TimeWindow.newInstance(0.0, Integer.MAX_VALUE);
private double deliveryDuration = 0.0;


/**
Expand Down

0 comments on commit 27984fa

Please sign in to comment.