diff artifacts/src/main/java/org/dive4elements/river/exports/DiagramGenerator.java @ 9783:ae298eccc25c 3.2.x

Remove outdated Intevation logo
author Tom Gottfried <tom@intevation.de>
date Wed, 26 Apr 2023 16:28:07 +0200
parents 0a5239a1e46e
children 672cfb850229
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/DiagramGenerator.java	Wed Apr 26 16:04:45 2023 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/DiagramGenerator.java	Wed Apr 26 16:28:07 2023 +0200
@@ -276,10 +276,6 @@
             return;
         }
 
-        ImageIcon imageIcon = null;
-        if (logo.equals("none")) {
-            return;
-        }
         /*
          If you want to add images, remember to change code in these places:
          flys-artifacts:
@@ -291,15 +287,13 @@
          flys-client/src/main/webapp/images/
          */
         java.net.URL imageURL;
-        if (logo.equals("Intevation")) {
-            imageURL = DiagramGenerator.class.getResource(
-                "/images/intevation.png");
-        }
-        else { // TODO else if ...
+        if (logo.equals("BfG")) {
             imageURL = DiagramGenerator.class.getResource(
                 "/images/bfg_logo.gif");
+        } else {
+            return;
         }
-        imageIcon = new ImageIcon(imageURL);
+        ImageIcon imageIcon = new ImageIcon(imageURL);
 
 
         double xPos = 0d, yPos = 0d;

http://dive4elements.wald.intevation.org