Mercurial > dive4elements > river
changeset 6290:db7d0600d39d
Minor refac.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 12 Jun 2013 11:51:25 +0200 |
parents | cc11780b3491 |
children | 33ccce4a3aae |
files | backend/src/main/java/org/dive4elements/river/importer/parsers/WaterlevelDifferencesParser.java |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/importer/parsers/WaterlevelDifferencesParser.java Wed Jun 12 11:43:34 2013 +0200 +++ b/backend/src/main/java/org/dive4elements/river/importer/parsers/WaterlevelDifferencesParser.java Wed Jun 12 11:51:25 2013 +0200 @@ -164,8 +164,9 @@ String name = cols[i].replace("\"", ""); log.debug("Create new column '" + name + "'"); - current.getColumn(i).setName(name); - current.getColumn(i).setDescription(name); + ImportWstColumn column = current.getColumn(i); + column.setName(name); + column.setDescription(name); Matcher m = YEARS_IN_COLUMN.matcher(name);