Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/ImportBedHeightSingle.java @ 3662:0d27d02b1208
backend: Completed the error messages of the importer.
flys-backend/trunk@5266 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 24 Aug 2012 15:47:31 +0000 |
parents | 8926571e47fb |
children | a5b003595d6c |
comparison
equal
deleted
inserted
replaced
3661:3ea5e835ecce | 3662:0d27d02b1208 |
---|---|
137 BedHeightType theType = type != null ? type.getPeer() : null; | 137 BedHeightType theType = type != null ? type.getPeer() : null; |
138 ElevationModel theCurModel = curElevationModel.getPeer(); | 138 ElevationModel theCurModel = curElevationModel.getPeer(); |
139 Range theRange = range != null ? range.getPeer(river) : null; | 139 Range theRange = range != null ? range.getPeer(river) : null; |
140 | 140 |
141 if (theType == null || theCurModel == null || theRange == null) { | 141 if (theType == null || theCurModel == null || theRange == null) { |
142 log.warn("Skip invalid file '" + description + "'"); | 142 log.warn("BHS: Skip invalid file '" + description + "'"); |
143 return null; | 143 return null; |
144 } | 144 } |
145 | 145 |
146 Session session = ImporterSession.getInstance().getDatabaseSession(); | 146 Session session = ImporterSession.getInstance().getDatabaseSession(); |
147 | 147 |