# HG changeset patch # User Sascha L. Teichmann # Date 1371226549 -7200 # Node ID b966c67a476d3390306422963c62da1346f2f12a # Parent 0f7e9a4f1c5af8d8a4b4d1bfcc5fff3b719c66d8 Backend: Only use name of official config line as name of main value. diff -r 0f7e9a4f1c5a -r b966c67a476d backend/src/main/java/org/dive4elements/river/importer/parsers/OfficialLinesConfigParser.java --- a/backend/src/main/java/org/dive4elements/river/importer/parsers/OfficialLinesConfigParser.java Fri Jun 14 18:12:22 2013 +0200 +++ b/backend/src/main/java/org/dive4elements/river/importer/parsers/OfficialLinesConfigParser.java Fri Jun 14 18:15:49 2013 +0200 @@ -49,7 +49,8 @@ if ((line = line.trim()).length() == 0 || line.charAt(0) == '*') { continue; } - mainValueNames.add(line); + NameAndTimeInterval nat = NameAndTimeInterval.parseName(line); + mainValueNames.add(nat.getName()); } } finally {