Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/AnnotationsParser.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 | 6dc847194625 |
comparison
equal
deleted
inserted
replaced
765:763c4137d6e1 | 766:aa9e3da95c31 |
---|---|
145 | 145 |
146 ImportAnnotation annotation = new ImportAnnotation( | 146 ImportAnnotation annotation = new ImportAnnotation( |
147 attribute, position, range, edge, type); | 147 attribute, position, range, edge, type); |
148 | 148 |
149 if (!annotations.add(annotation)) { | 149 if (!annotations.add(annotation)) { |
150 log.debug("duplicated annotation in line " | 150 log.warn("duplicated annotation '" + parts[0] + |
151 + in.getLineNumber()); | 151 "' in line " + in.getLineNumber()); |
152 } | 152 } |
153 } | 153 } |
154 } | 154 } |
155 finally { | 155 finally { |
156 if (in != null) { | 156 if (in != null) { |