Mercurial > dive4elements > river
changeset 868:439068365cde
Minor cosmetics.
flys-client/trunk@2675 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 08 Sep 2011 11:13:46 +0000 (2011-09-08) |
parents | 6a2ed979dfcf |
children | 94d9c8353ca9 |
files | flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java |
diffstat | 2 files changed, 11 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/ChangeLog Thu Sep 08 11:12:21 2011 +0000 +++ b/flys-client/ChangeLog Thu Sep 08 11:13:46 2011 +0000 @@ -1,3 +1,10 @@ +2011-09-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> + + Minor cosmetics. + + * src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java: + Minor cosmetics. + 2011-09-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> Added new UIProvider "DatacageTwinPanel"/ "datacage_twin_panel" (stub). As the
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java Thu Sep 08 11:12:21 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java Thu Sep 08 11:13:46 2011 +0000 @@ -64,14 +64,17 @@ protected List<DatacageHandler> handlers; + public DatacageWidget() { handlers = new ArrayList<DatacageHandler>(); } + public DatacageWidget(Artifact artifact, User user) { this(artifact, user, null); } + public DatacageWidget(Artifact artifact, User user, String outs) { this(); @@ -197,7 +200,7 @@ String locale = config.getLocale(); String artifactId = artifact.getUuid(); - String userId = user != null ? user.identifier() : null; + String userId = (user != null) ? user.identifier() : null; metaDataService.getMetaData( url, locale,