Mercurial > dive4elements > river
changeset 8930:f972e1da4a63
Another nice flys feature... double == comparison
author | gernotbelger |
---|---|
date | Tue, 06 Mar 2018 17:02:45 +0100 |
parents | 8d112ba94147 |
children | b10f8415798c |
files | artifacts/src/main/java/org/dive4elements/river/utils/RiverUtils.java |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/utils/RiverUtils.java Tue Mar 06 17:01:52 2018 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/utils/RiverUtils.java Tue Mar 06 17:02:45 2018 +0100 @@ -591,6 +591,7 @@ log.debug("Search named main value for: " + value); for (MainValue mv: mainValues) { + // FIXME: no-go! double == comparison... its simply a wonder that this works in release mode, it definitively does not work in debug mode! if (mv.getValue().doubleValue() == value) { log.debug("Found named main value: " + mv.getMainValue().getName());