Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultGaugeInfo.java @ 3847:f3b821735e39
Calculate the info url via i18n
Don't fetch the info url from the artifact service and use i18n to calculate the
url by using the official gauge and river number.
flys-client/trunk@5582 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Bjoern Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Mon, 24 Sep 2012 08:39:22 +0000 |
parents | 8e169e4e1b57 |
children | 87605bd9667c |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultGaugeInfo.java Sat Sep 22 22:26:38 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultGaugeInfo.java Mon Sep 24 08:39:22 2012 +0000 @@ -17,7 +17,6 @@ private boolean kmup; private Double station; private String wstunit; - private String infourl; private Long officialnumber; public DefaultGaugeInfo() { @@ -36,7 +35,6 @@ Double minw, Double maxw, String wstunit, - String infourl, Long official) { this.name = name; @@ -50,7 +48,6 @@ this.minw = minw; this.maxw = maxw; this.wstunit = wstunit; - this.infourl = infourl; this.officialnumber = official; } /** @@ -135,13 +132,6 @@ } /** - * Returns the URL where to find additional information about this gauge - */ - public String getInfoURL() { - return this.infourl; - } - - /** * Returns the official number of this gauge */ public Long getOfficialNumber() {