Mercurial > dive4elements > river
diff gwt-client/src/main/java/org/dive4elements/river/client/client/FLYS.java @ 8856:5e38e2924c07 3.2.x
Fix code style.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 18 Jan 2018 20:12:01 +0100 |
parents | e3a63d9c5bb1 |
children |
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/FLYS.java Thu Jan 18 20:10:59 2018 +0100 +++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/FLYS.java Thu Jan 18 20:12:01 2018 +0100 @@ -69,7 +69,8 @@ /** The UserService used to retrieve information about the current user. */ protected UserServiceAsync userService = GWT.create(UserService.class); - protected ServerInfoServiceAsync serverInfoService = GWT.create(ServerInfoService.class); + protected ServerInfoServiceAsync serverInfoService = + GWT.create(ServerInfoService.class); /** The RiverService used to retrieve the supported rivers of the server.*/ protected RiverServiceAsync riverService = GWT.create(RiverService.class); @@ -111,7 +112,10 @@ private FLYSHeader header; - public static String getExceptionString(FLYSConstants msg, Throwable caught) { + public static String getExceptionString( + FLYSConstants msg, + Throwable caught + ) { try { return msg.getString(caught.getMessage()); } @@ -156,7 +160,8 @@ Config config = Config.getInstance(); final String locale = config.getLocale(); - serverInfoService.getConfig(locale, new AsyncCallback<Map<String,String>>() { + serverInfoService.getConfig( + locale, new AsyncCallback<Map<String,String>>() { @Override public void onSuccess(Map<String, String> result) { @@ -491,7 +496,8 @@ mainValueView.setShowMaximizeButton(true); mainValueView.setKeepInParentRect(true); - mainValueView.setTitle(MSG.mainvalues() + " " + gauge.getName() + " (" + gauge.getRiverName() + ")" ); + mainValueView.setTitle(MSG.mainvalues() + " " + + gauge.getName() + " (" + gauge.getRiverName() + ")" ); workspace.addChild(mainValueView); } @@ -509,8 +515,8 @@ /** - * This CloseClickHandler is used to remove lock on a specific Collection so - * that is might be opened again. + * This CloseClickHandler is used to remove lock on a specific Collection + * so that is might be opened again. */ public class CloseCollectionViewHandler implements CloseClickHandler { protected FLYS flys;