Commit 4a84a6ab authored by Noric Couderc's avatar Noric Couderc
Browse files

JMHProcessor.processReader() cannot return null fields

Changed signature from List<List<String>>? (possible to be null) to
List<List<String>> (non-null)
parent b175b638
......@@ -8,11 +8,12 @@ import
import java.lang.Exception
class JMHProcessor {
fun processFile(filename: String): List<List<String?>> {
return processReader(FileReader(File(filename)))
fun processReader(reader: Reader): List<List<String?>> {
fun processReader(reader: Reader): List<List<String>> {
var parser = CSVParser(reader, CSVFormat.DEFAULT.withFirstRecordAsHeader())
// We are grouping the parameters by any parameter except the data structure name (which we want)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment