Mercurial > dive4elements > river
diff flys-backend/src/main/java/de/intevation/flys/importer/InfoGewParser.java @ 766:aa9e3da95c31
Importer: Fix import of annotation type classification.
flys-backend/trunk@2163 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 19 Jun 2011 17:43:38 +0000 |
parents | 763c4137d6e1 |
children |
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/importer/InfoGewParser.java Sun Jun 19 12:26:12 2011 +0000 +++ b/flys-backend/src/main/java/de/intevation/flys/importer/InfoGewParser.java Sun Jun 19 17:43:38 2011 +0000 @@ -59,7 +59,6 @@ File root = file.getParentFile(); - ImportRiver importRiver = new ImportRiver(annotationClassifier); try { in = new LineNumberReader( @@ -82,7 +81,11 @@ String river = m.group(1); log.info("Found river '" + river + "'"); if (riverName != null) { - rivers.add(new ImportRiver(riverName, wstFile, bbInfoFile)); + rivers.add(new ImportRiver( + riverName, + wstFile, + bbInfoFile, + annotationClassifier)); } riverName = river; wstFile = null; @@ -109,7 +112,11 @@ } } if (riverName != null) { - rivers.add(new ImportRiver(riverName, wstFile, bbInfoFile)); + rivers.add(new ImportRiver( + riverName, + wstFile, + bbInfoFile, + annotationClassifier)); } } finally {