Skip to content

Commit f9edf45

Browse files
authored
Merge pull request #6231 from espoon-voltti/dependabot/gradle/service/org.apache.commons-commons-csv-1.13.0
Bump org.apache.commons:commons-csv from 1.12.0 to 1.13.0 in /service
2 parents 33099c7 + 17de751 commit f9edf45

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

service/evaka-bom/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies {
2929
api("jakarta.xml.ws:jakarta.xml.ws-api:4.0.2")
3030
api("net.logstash.logback:logstash-logback-encoder:8.0")
3131
api("nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:3.3.0")
32-
api("org.apache.commons:commons-csv:1.12.0")
32+
api("org.apache.commons:commons-csv:1.13.0")
3333
api("org.apache.commons:commons-text:1.13.0")
3434
api("org.apache.commons:commons-imaging:1.0-alpha3")
3535
api("org.apache.tika:tika-core:3.0.0")

service/src/main/kotlin/fi/espoo/evaka/application/PlacementToolService.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ fun parsePlacementToolCsv(inputStream: InputStream): Map<String, DaycareId> {
340340
.setHeader()
341341
.apply { setIgnoreSurroundingSpaces(true) }
342342
.apply { setDelimiter(';') }
343-
.build()
343+
.get()
344344
.parse(bomStream.reader())
345345
.filter { row ->
346346
row.get(PlacementToolCsvField.CHILD_ID.fieldName).isNotBlank() &&

service/src/main/kotlin/fi/espoo/evaka/aromi/AromiService.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class AromiService {
6262
}
6363

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

0 commit comments

Comments
 (0)