[Schmitzm-commits] r816 - trunk/src/schmitzm/jfree/feature/style

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Apr 23 16:45:11 CEST 2010


Author: mojays
Date: 2010-04-23 16:45:11 +0200 (Fri, 23 Apr 2010)
New Revision: 816

Modified:
   trunk/src/schmitzm/jfree/feature/style/FeatureChartStyleXMLFactory.java
   trunk/src/schmitzm/jfree/feature/style/FeatureChartUtil.java
Log:
BugFix: NoDataAliases for SeriesAttribute were also written to DomainAttribute in XML

Modified: trunk/src/schmitzm/jfree/feature/style/FeatureChartStyleXMLFactory.java
===================================================================
--- trunk/src/schmitzm/jfree/feature/style/FeatureChartStyleXMLFactory.java	2010-04-23 13:27:03 UTC (rev 815)
+++ trunk/src/schmitzm/jfree/feature/style/FeatureChartStyleXMLFactory.java	2010-04-23 14:45:11 UTC (rev 816)
@@ -161,7 +161,7 @@
       addChildToElement(attrElem, "domainAttr", false,
           "name", style.getAttributeName(0),
           "normalize", style.isAttributeNormalized(0),
-          "nullAliases", XMLUtil.convertSetToSeparatedString(style.getSeriesAttributeNoDataValues()), 
+          "nullAliases", XMLUtil.convertSetToSeparatedString(style.getNoDataValues(0)), 
           "sort", style.isSortDomainAxis(),
           "forceCategories", style.isForceCategories()
       );

Modified: trunk/src/schmitzm/jfree/feature/style/FeatureChartUtil.java
===================================================================
--- trunk/src/schmitzm/jfree/feature/style/FeatureChartUtil.java	2010-04-23 13:27:03 UTC (rev 815)
+++ trunk/src/schmitzm/jfree/feature/style/FeatureChartUtil.java	2010-04-23 14:45:11 UTC (rev 816)
@@ -37,6 +37,7 @@
 import java.util.HashMap;
 import java.util.Iterator;
 import java.util.List;
+import java.util.Set;
 import java.util.Vector;
 
 import org.apache.log4j.Logger;
@@ -86,7 +87,7 @@
 
   /** Instance of {@link ChartStyleXMLFactory}. */
   public static final FeatureChartStyleXMLFactory FEATURE_CHART_STYLE_FACTORY = new FeatureChartStyleXMLFactory();
-
+  
   /**
    * Returns all {@link DatasetSelectionModel DatasetSelectionModels} that can
    * be reached via the renderers of a chart.



More information about the Schmitzm-commits mailing list