comparison flys-artifacts/src/main/java/de/intevation/flys/utils/FLYSUtils.java @ 4851:a1ce76091ade

FLYSUtils: Made getLocations private, added TODO about resolution.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 23 Jan 2013 12:12:22 +0100
parents 65bfb6faa538
children 9790a284246c
comparison
equal deleted inserted replaced
4850:c9a27912840d 4851:a1ce76091ade
319 319
320 /** 320 /**
321 * Return sorted array of locations at which stuff was calculated 321 * Return sorted array of locations at which stuff was calculated
322 * (from ld_locations data), null if not parameterized this way. 322 * (from ld_locations data), null if not parameterized this way.
323 */ 323 */
324 public static double[] getLocations(FLYSArtifact flys) { 324 // TODO moved to RangeAccess. Resolve remaining calls.
325 private static double[] getLocations(FLYSArtifact flys) {
325 String locationStr = flys.getDataAsString("ld_locations"); 326 String locationStr = flys.getDataAsString("ld_locations");
326 327
327 if (locationStr == null || locationStr.length() == 0) { 328 if (locationStr == null || locationStr.length() == 0) {
328 if (flys instanceof WINFOArtifact) { 329 if (flys instanceof WINFOArtifact) {
329 WINFOArtifact winfo = (WINFOArtifact) flys; 330 WINFOArtifact winfo = (WINFOArtifact) flys;

http://dive4elements.wald.intevation.org