Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java @ 3256:17ca0a43027a
Removed trailing whitespace
flys-artifacts/trunk@4890 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sat, 07 Jul 2012 09:23:33 +0000 |
parents | fb11bd37ddb8 |
children | 28be160b5870 |
comparison
equal
deleted
inserted
replaced
3255:4246851312e6 | 3256:17ca0a43027a |
---|---|
291 int groupNum = themeGroups != null ? themeGroups.getLength() : 0; | 291 int groupNum = themeGroups != null ? themeGroups.getLength() : 0; |
292 | 292 |
293 if (groupNum == 0) { | 293 if (groupNum == 0) { |
294 logger.warn("There are no theme groups configured!"); | 294 logger.warn("There are no theme groups configured!"); |
295 } | 295 } |
296 | 296 |
297 logger.info("Found " + groupNum + " theme groups in configuration"); | 297 logger.info("Found " + groupNum + " theme groups in configuration"); |
298 | 298 |
299 List<ThemeGroup> groups = new ArrayList<ThemeGroup>(); | 299 List<ThemeGroup> groups = new ArrayList<ThemeGroup>(); |
300 | 300 |
301 for (int g = 0; g < groupNum; g++) { | 301 for (int g = 0; g < groupNum; g++) { |
323 theThemes.put(theTheme.getName(), theTheme); | 323 theThemes.put(theTheme.getName(), theTheme); |
324 } | 324 } |
325 } | 325 } |
326 String gName = themeGroup.getAttribute("name"); | 326 String gName = themeGroup.getAttribute("name"); |
327 groups.add(new ThemeGroup(gName, theThemes)); | 327 groups.add(new ThemeGroup(gName, theThemes)); |
328 | 328 |
329 logger.info( | 329 logger.info( |
330 "Initialized " + theThemes.size() + "/" + num + " themes " + | 330 "Initialized " + theThemes.size() + "/" + num + " themes " + |
331 "of theme-group '" + gName + "'"); | 331 "of theme-group '" + gName + "'"); |
332 } | 332 } |
333 context.put(FLYSContext.THEMES, groups); | 333 context.put(FLYSContext.THEMES, groups); |