Skip to content

Commit 9a4a563

Browse files
committed
merged master into branch
1 parent 8fe4236 commit 9a4a563

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

csv-validator-ui/src/main/scala/uk/gov/nationalarchives/csv/validator/ui/CsvValidatorUi.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,11 +429,11 @@ object CsvValidatorUi extends SimpleSwingApplication {
429429
updateLastPath(reportFileChooser, path => Settings(path, path, path))
430430
}
431431

432-
private val lblVersion = new Label(s"Version: $getShortVersion")
432+
private val lblVersion = new Label(s"Version: ${getShortVersion}")
433433
lblVersion.listenTo(lblVersion.mouse.clicks)
434434
lblVersion.font = lblVersion.font.deriveFont(9)
435435
lblVersion.reactions += onClick {
436-
Dialog.showMessage(this, getLongVersion.map(x => s"${x._1}: ${x._2}").mkString(java.lang.System.lineSeparator()), "Version Details")
436+
Dialog.showMessage(this, getLongVersion.map(x => s"${x._1}: ${x._2}").mkString(System.getProperty("line.separator")), "Version Details")
437437
}
438438

439439
layout.row.grid(lblCsvFile).add(txtCsvFile, 5).add(btnChooseCsvFile)

0 commit comments

Comments
 (0)