Skip to content

Commit

Permalink
Fix deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
akheron committed Jan 17, 2025
1 parent 72f4023 commit 17de751
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ fun parsePlacementToolCsv(inputStream: InputStream): Map<String, DaycareId> {
.setHeader()
.apply { setIgnoreSurroundingSpaces(true) }
.apply { setDelimiter(';') }
.build()
.get()
.parse(bomStream.reader())
.filter { row ->
row.get(PlacementToolCsvField.CHILD_ID.fieldName).isNotBlank() &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class AromiService {
}

private fun printCsv(writer: Appendable, data: AromiMealOrderData) {
val format = CSVFormat.Builder.create(CSVFormat.DEFAULT).setDelimiter(';').build()
val format = CSVFormat.Builder.create(CSVFormat.DEFAULT).setDelimiter(';').get()
CSVPrinter(writer, format).use { printer -> printRecords(printer, data) }
}

Expand Down

0 comments on commit 17de751

Please sign in to comment.