Mercurial > dive4elements > river
changeset 2041:e5f01f2325c9
Cosmetics, doc.
flys-artifacts/trunk@3527 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 22 Dec 2011 12:53:29 +0000 |
parents | cd9bcdcf6597 |
children | 3f6b519300ec |
files | flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/utils/FLYSUtils.java |
diffstat | 2 files changed, 13 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Thu Dec 22 12:52:12 2011 +0000 +++ b/flys-artifacts/ChangeLog Thu Dec 22 12:53:29 2011 +0000 @@ -1,3 +1,8 @@ +2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de> + + * src/main/java/de/intevation/flys/utils/FLYSUtils.java: + Cosmetics, docs. + 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/utils/FLYSUtils.java Thu Dec 22 12:52:12 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/utils/FLYSUtils.java Thu Dec 22 12:53:29 2011 +0000 @@ -181,7 +181,10 @@ } } - + /** + * Get min and max kilometer, independent of parametization + * (ld_from/to vs ld_locations). + */ public static double[] getKmRange(FLYSArtifact flys) { switch (getKmRangeMode(flys)) { case RANGE: { @@ -227,6 +230,10 @@ } + /** + * Return sorted array of locations at which stuff was calculated + * (from ld_locations data), null if not parameterized this way. + */ public static double[] getLocations(FLYSArtifact flys) { String locationStr = flys.getDataAsString("ld_locations");