[Schmitzm-commits] r1084 - trunk/src/schmitzm/jfree/table/style
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Sat Oct 9 15:41:12 CEST 2010
Author: alfonx
Date: 2010-10-09 15:41:10 +0200 (Sat, 09 Oct 2010)
New Revision: 1084
Modified:
trunk/src/schmitzm/jfree/table/style/TableChartStyleXMLFactory.java
Log:
Fixed http://wald.intevation.org/tracker/index.php?func=detail&aid=1515&group_id=47&atid=293
Modified: trunk/src/schmitzm/jfree/table/style/TableChartStyleXMLFactory.java
===================================================================
--- trunk/src/schmitzm/jfree/table/style/TableChartStyleXMLFactory.java 2010-10-09 13:35:10 UTC (rev 1083)
+++ trunk/src/schmitzm/jfree/table/style/TableChartStyleXMLFactory.java 2010-10-09 13:41:10 UTC (rev 1084)
@@ -76,11 +76,12 @@
// Attribute definitions in <tableAttributes> element
Element attributesElement = element.getChild("tableAttributes");
if ( attributesElement == null )
- // try old-fashioned XML-definition with <featureAttributes>
- // TODO: remove this temporary work-around!
- attributesElement = element.getChild("featureAttributes");
- if ( attributesElement == null )
- throw new UnsupportedOperationException("<tableAttributes> element necessary for TableChartStyle!");
+ throw new UnsupportedOperationException("<tableAttributes> element necessary for TableChartStyle!");
+
+// // try old-fashioned XML-definition with <featureAttributes>
+// // DONE: remove this temporary work-around!
+// attributesElement = element.getChild("featureAttributes");
+// if ( attributesElement == null )
// Read domain attribute
Element domainAttrElem = attributesElement.getChild("domainAttr");
More information about the Schmitzm-commits
mailing list