Text processing/Max licenses in use: Difference between revisions
Content added Content deleted
(Added Kotlin) |
m (→{{header|Kotlin}}: Changed 'var' to 'val' as the variable 'f' is only assigned to once.) |
||
Line 1,360: | Line 1,360: | ||
var maxLicenses = 0 |
var maxLicenses = 0 |
||
val dates = mutableListOf<String>() |
val dates = mutableListOf<String>() |
||
val f = File(filePath) |
|||
f.forEachLine { line -> |
f.forEachLine { line -> |