author | wenzelm |
Wed, 25 Nov 2020 12:34:08 +0100 | |
changeset 72698 | 6f83f7892317 |
parent 72697 | e16f85e3c288 |
child 72699 | ed59a506998f |
--- a/src/Pure/General/file.scala Tue Nov 24 16:49:42 2020 +0100 +++ b/src/Pure/General/file.scala Wed Nov 25 12:34:08 2020 +0100 @@ -222,7 +222,7 @@ val line = try { reader.readLine} catch { case _: IOException => null } - Option(line) + Option(line).map(Library.trim_line) } def read_lines(reader: BufferedReader, progress: String => Unit): List[String] =