comparison backend/src/main/java/org/dive4elements/river/importer/ImportBedHeightSingle.java @ 5992:4c3ccf2b0304

Removed trailing whitespace.
author Sascha L. Teichmann <teichmann@intevation.de>
date Sun, 12 May 2013 18:08:41 +0200
parents 4dd33b86dc61
children c894b7b45c4c
comparison
equal deleted inserted replaced
5991:6f80d5f375fd 5992:4c3ccf2b0304
1 /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde 1 /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde
2 * Software engineering by Intevation GmbH 2 * Software engineering by Intevation GmbH
3 * 3 *
4 * This file is Free Software under the GNU AGPL (>=v3) 4 * This file is Free Software under the GNU AGPL (>=v3)
5 * and comes with ABSOLUTELY NO WARRANTY! Check out the 5 * and comes with ABSOLUTELY NO WARRANTY! Check out the
6 * documentation coming with Dive4Elements River for details. 6 * documentation coming with Dive4Elements River for details.
7 */ 7 */
8 8
9 package org.dive4elements.river.importer; 9 package org.dive4elements.river.importer;
10 10
11 import java.util.ArrayList; 11 import java.util.ArrayList;
142 BedHeightType theType = type != null ? type.getPeer() : null; 142 BedHeightType theType = type != null ? type.getPeer() : null;
143 ElevationModel theCurModel = curElevationModel.getPeer(); 143 ElevationModel theCurModel = curElevationModel.getPeer();
144 Range theRange = range != null ? range.getPeer(river) : null; 144 Range theRange = range != null ? range.getPeer(river) : null;
145 145
146 if (theType == null) { 146 if (theType == null) {
147 log.warn("BHS: No bed height type given. Skip file '" + 147 log.warn("BHS: No bed height type given. Skip file '" +
148 description + "'"); 148 description + "'");
149 return null; 149 return null;
150 } 150 }
151 151
152 if (theCurModel == null) { 152 if (theCurModel == null) {
153 log.warn("BHS: No elevation model given. Skip file '" + 153 log.warn("BHS: No elevation model given. Skip file '" +
154 description + "'"); 154 description + "'");
155 return null; 155 return null;
156 } 156 }
157 157
158 if (theRange == null) { 158 if (theRange == null) {
159 log.warn("BHS: No km-range given: '" + 159 log.warn("BHS: No km-range given: '" +
160 description + "'"); 160 description + "'");
161 } 161 }
162 162
163 Session session = ImporterSession.getInstance().getDatabaseSession(); 163 Session session = ImporterSession.getInstance().getDatabaseSession();
164 164

http://dive4elements.wald.intevation.org