Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kt86 committed Jan 19, 2024
1 parent bdb85b3 commit 1837f13
Showing 1 changed file with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,7 @@ public static class DistributionCarrierResourceBuilder {

private DistributionCarrierResourceBuilder(Carrier carrier, Network network) {
this.id = Id.create(carrier.getId().toString(), LSPResource.class);
setCarrierType(
carrier, CARRIER_TYPE.distributionCarrier);
setCarrierType(carrier, CARRIER_TYPE.distributionCarrier);
this.carrier = carrier;
this.clientElements = new ArrayList<>();
this.network = network;
Expand Down Expand Up @@ -288,8 +287,7 @@ public static class CollectionCarrierResourceBuilder {

private CollectionCarrierResourceBuilder(Carrier carrier, Network network) {
this.id = Id.create(carrier.getId().toString(), LSPResource.class);
setCarrierType(
carrier, CARRIER_TYPE.collectionCarrier);
setCarrierType(carrier, CARRIER_TYPE.collectionCarrier);
this.carrier = carrier;
this.clientElements = new ArrayList<>();
this.network = network;
Expand Down Expand Up @@ -328,8 +326,7 @@ public static class MainRunCarrierResourceBuilder {

private MainRunCarrierResourceBuilder(Carrier carrier, Network network) {
this.id = Id.create(carrier.getId().toString(), LSPResource.class);
setCarrierType(
carrier, CARRIER_TYPE.mainRunCarrier);
setCarrierType(carrier, CARRIER_TYPE.mainRunCarrier);
this.carrier = carrier;
this.clientElements = new ArrayList<>();
this.network = network;
Expand Down Expand Up @@ -358,8 +355,7 @@ Carrier getCarrier() {
}

public MainRunCarrierResourceBuilder setCarrier(Carrier carrier) {
setCarrierType(
carrier, CARRIER_TYPE.mainRunCarrier);
setCarrierType(carrier, CARRIER_TYPE.mainRunCarrier);
this.carrier = carrier;
return this;
}
Expand Down Expand Up @@ -400,8 +396,7 @@ VehicleReturn getVehicleReturn() {
return vehicleReturn;
}

public MainRunCarrierResourceBuilder setVehicleReturn(
VehicleReturn vehicleReturn) {
public MainRunCarrierResourceBuilder setVehicleReturn(VehicleReturn vehicleReturn) {
this.vehicleReturn = vehicleReturn;
return this;
}
Expand Down

0 comments on commit 1837f13

Please sign in to comment.