Skip to content

Commit

Permalink
fix check style
Browse files Browse the repository at this point in the history
  • Loading branch information
GregorRyb committed Jan 25, 2024
1 parent 711c46c commit 97d8f9b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/org/matsim/run/prepare/ParkingCapacities.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static void main(String[] args) throws IOException {
minCapacity = (int) Math.floor(usableLength /50);
}

l.getAttributes().putAttribute("maxParkingCapacity",maxCapacity);
l.getAttributes().putAttribute("maxParkingCapacity", maxCapacity);
l.getAttributes().putAttribute("minParkingCapacity", minCapacity);
listOfParkingCapacities.add(new ParkingCapacityRecord(l.getId().toString(), maxCapacity, minCapacity));
}
Expand All @@ -43,7 +43,6 @@ public static void main(String[] args) throws IOException {
NetworkUtils.writeNetwork(network, "networkWithParkingCap.xml.gz");
}


private static void writeResults(Path outputFolder, List<ParkingCapacities.ParkingCapacityRecord> listOfParkingCapacities) throws IOException {
BufferedWriter writer = IOUtils.getBufferedWriter(outputFolder.resolve("parkingCapacities.tsv").toString());
writer.write("linkId\tmaxCapacity\tminCapacity");
Expand Down

0 comments on commit 97d8f9b

Please sign in to comment.