comparison flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java @ 2409:4e82bcd07550

Bugfix: Take care on empty ArtifactAndFacet objects in doAnnotations(). flys-artifacts/trunk@4038 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 10 Feb 2012 16:33:36 +0000
parents 5d8d24984819
children 7e0be3e5dfaa
comparison
equal deleted inserted replaced
2408:8e2ae8813a06 2409:4e82bcd07550
985 ArtifactAndFacet aandf, 985 ArtifactAndFacet aandf,
986 Document theme, 986 Document theme,
987 boolean visible 987 boolean visible
988 ){ 988 ){
989 logger.debug("doAnnotations"); 989 logger.debug("doAnnotations");
990 if (aandf == null) {
991 logger.warn(
992 "Facet for Annotations is null. " +
993 "This should never happen!");
994 return;
995 }
996
990 Facet facet = aandf.getFacet(); 997 Facet facet = aandf.getFacet();
991 998
992 // Add all annotations to our annotation pool. 999 // Add all annotations to our annotation pool.
993 annotations.setTheme(theme); 1000 annotations.setTheme(theme);
994 if (facet != null) 1001 if (facet != null)

http://dive4elements.wald.intevation.org