comparison 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
comparison
equal deleted inserted replaced
3780:7fa38f8bcd8d 3781:8e713e9bb4d7
100 break; 100 break;
101 } 101 }
102 } 102 }
103 103
104 if (group == null) { 104 if (group == null) {
105 logger.warn("No theme group found: '" + groupName + "'");
105 return null; 106 return null;
106 } 107 }
107 108
108 Map<String, Theme> t = group.getThemes(); 109 Map<String, Theme> t = group.getThemes();
109 110
126 if (name.equals(tm.getFrom()) 127 if (name.equals(tm.getFrom())
127 && tm.applyPattern(pattern) 128 && tm.applyPattern(pattern)
128 && tm.masterAttrMatches(artifact) 129 && tm.masterAttrMatches(artifact)
129 && tm.outputMatches(output)) 130 && tm.outputMatches(output))
130 { 131 {
131 return t.get(tm.getTo()); 132 String target = tm.getTo();
133
134 logger.debug("Found theme '" + target + "'");
135 return t.get(target);
132 } 136 }
133 } 137 }
134 138
135 String msg = 139 String msg =
136 "No theme found for '" + name + 140 "No theme found for '" + name +

http://dive4elements.wald.intevation.org