comparison artifacts/src/main/java/org/dive4elements/river/exports/DischargeCurveGenerator.java @ 7981:45cced06490c facet-metadata

merged with default.
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 30 Jun 2014 11:29:45 +0200
parents d3a4b0d5bcd8
children 209f8a9e8a75
comparison
equal deleted inserted replaced
7894:42076d94977e 7981:45cced06490c
372 /** 372 /**
373 * Return true if all values in data[0] are smaller than zero 373 * Return true if all values in data[0] are smaller than zero
374 * (in imported data they are set to -1 symbolically). 374 * (in imported data they are set to -1 symbolically).
375 * Return false if data is null or empty 375 * Return false if data is null or empty
376 */ 376 */
377 private boolean hasNoDischarge(double[][] data) { 377 private static boolean hasNoDischarge(double[][] data) {
378 if (data == null || data.length == 0) { 378 if (data == null || data.length == 0) {
379 return false; 379 return false;
380 } 380 }
381 381
382 double[] qs = data[0]; 382 double[] qs = data[0];

http://dive4elements.wald.intevation.org