diff flys-artifacts/src/main/java/de/intevation/flys/themes/ThemeFactory.java @ 3781:8e713e9bb4d7

Defined colors for bed quality themes. flys-artifacts/trunk@5488 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 17 Sep 2012 09:40:00 +0000
parents b1912514e0f5
children a5f65e8983be
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/themes/ThemeFactory.java	Mon Sep 17 09:16:20 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/themes/ThemeFactory.java	Mon Sep 17 09:40:00 2012 +0000
@@ -102,6 +102,7 @@
         }
 
         if (group == null) {
+            logger.warn("No theme group found: '" + groupName + "'");
             return null;
         }
 
@@ -128,7 +129,10 @@
                 && tm.masterAttrMatches(artifact)
                 && tm.outputMatches(output))
             {
-                return t.get(tm.getTo());
+                String target = tm.getTo();
+                
+                logger.debug("Found theme '" + target + "'");
+                return t.get(target);
             }
         }
 

http://dive4elements.wald.intevation.org