From 1b45ce1a847039b683e6e346a033d8750627b578 Mon Sep 17 00:00:00 2001 From: rakow Date: Tue, 9 Apr 2024 09:35:31 +0200 Subject: [PATCH] use static method --- .../matsim/application/analysis/population/TripAnalysis.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contribs/application/src/main/java/org/matsim/application/analysis/population/TripAnalysis.java b/contribs/application/src/main/java/org/matsim/application/analysis/population/TripAnalysis.java index 1d2579355ef..f91d7598ff4 100644 --- a/contribs/application/src/main/java/org/matsim/application/analysis/population/TripAnalysis.java +++ b/contribs/application/src/main/java/org/matsim/application/analysis/population/TripAnalysis.java @@ -98,7 +98,7 @@ public Integer call() throws Exception { Table persons = Table.read().csv(CsvReadOptions.builder(IOUtils.getBufferedReader(input.getPath("persons.csv"))) .columnTypesPartial(Map.of("person", ColumnType.TEXT)) .sample(false) - .separator(new CsvOptions().detectDelimiter(input.getPath("persons.csv"))).build()); + .separator(CsvOptions.detectDelimiter(input.getPath("persons.csv"))).build()); int total = persons.rowCount();