Skip to content

Commit

Permalink
fitler empty lines (osmlab#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel B authored Jun 9, 2020
1 parent 35a7131 commit 991da67
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ protected void execute(final CommandMap commandMap,
{
try (BufferedReader reader = FileUtility.getReader(logFile, logOutputFileType))
{
reader.lines().forEach(line ->
reader.lines().filter(line -> line.trim().length() > 0).forEach(line ->
{
// Get Task from geojson
final Task task = gson.fromJson(line, Task.class);
Expand Down

0 comments on commit 991da67

Please sign in to comment.