[PATCH 1 of 2] Remove unused local variables

Wald Commits scm-commit at wald.intevation.org
Thu Apr 27 12:49:31 CEST 2023


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1682589346 -7200
#      Thu Apr 27 11:55:46 2023 +0200
# Branch 3.2.x
# Node ID 7df65516ee8b7bf83c05680b2ba56631d6964c60
# Parent  ae298eccc25cc159495152128c38d42a63cc4939
Remove unused local variables

diff -r ae298eccc25c -r 7df65516ee8b gwt-client/src/main/java/org/dive4elements/river/client/client/ui/FLYSWorkspace.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/FLYSWorkspace.java	Wed Apr 26 16:28:07 2023 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/FLYSWorkspace.java	Thu Apr 27 11:55:46 2023 +0200
@@ -14,7 +14,6 @@
 import com.smartgwt.client.types.VerticalAlignment;
 import com.smartgwt.client.widgets.Button;
 import com.smartgwt.client.widgets.Canvas;
-import com.smartgwt.client.widgets.Img;
 import com.smartgwt.client.widgets.Label;
 import com.smartgwt.client.widgets.events.ClickEvent;
 import com.smartgwt.client.widgets.events.ClickHandler;
@@ -129,13 +128,6 @@
     }
 
     private void addBackgroundWorkspace() {
-        String baseUrl = GWT.getHostPageBaseURL();
-        Img bfg  = new Img(
-                baseUrl + MESSAGES.bfgLogo());
-        bfg.setWidth(150);
-        bfg.setHeight(100);
-        bfg.setLayoutAlign(Alignment.RIGHT);
-
         HLayout backgroundlayout = new HLayout();
         backgroundlayout.setHeight100();
         backgroundlayout.setWidth100();


More information about the Dive4Elements-commits mailing list