Mercurial > dive4elements > river
changeset 1660:804c58c56422
Extracted/use StringUtil.wWrap .
flys-artifacts/trunk@2859 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 28 Sep 2011 15:37:59 +0000 |
parents | ad54896ec369 |
children | a890bf077de5 |
files | flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java |
diffstat | 2 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Wed Sep 28 15:17:44 2011 +0000 +++ b/flys-artifacts/ChangeLog Wed Sep 28 15:37:59 2011 +0000 @@ -1,3 +1,8 @@ +2011-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> + + * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java: + Extracted/use StringUtil.wWrap . + 2011-09-28 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java Wed Sep 28 15:17:44 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java Wed Sep 28 15:37:59 2011 +0000 @@ -131,11 +131,7 @@ String name = wqkms[idx].getName(); - if (name != null && name.indexOf("Q") >= 0) { - name = "W(" + name + ")"; - } - - return new String[] { name }; + return new String[] { StringUtil.wWrap(name) }; }