[Schmitzm-commits] r1975 - in trunk/schmitzm-gt/src/main/java/de/schmitzm/geotools/styling: . chartsymbols

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Wed May 2 13:43:01 CEST 2012


Author: alfonx
Date: 2012-05-02 13:43:01 +0200 (Wed, 02 May 2012)
New Revision: 1975

Modified:
   trunk/schmitzm-gt/src/main/java/de/schmitzm/geotools/styling/StyledLayerUtil.java
   trunk/schmitzm-gt/src/main/java/de/schmitzm/geotools/styling/chartsymbols/ChartGraphic.java
Log:


Modified: trunk/schmitzm-gt/src/main/java/de/schmitzm/geotools/styling/StyledLayerUtil.java
===================================================================
--- trunk/schmitzm-gt/src/main/java/de/schmitzm/geotools/styling/StyledLayerUtil.java	2012-05-02 11:00:34 UTC (rev 1974)
+++ trunk/schmitzm-gt/src/main/java/de/schmitzm/geotools/styling/StyledLayerUtil.java	2012-05-02 11:43:01 UTC (rev 1975)
@@ -1090,7 +1090,7 @@
 
 					{
 						Symbolizer fixSymbolizer = ChartGraphic
-								.getFixDataLegendSymbolizer(pointSymbolizer);
+								.getFixDataSymbolizer(pointSymbolizer);
 
 						Double maxValue = cg.getMaxValue();
 

Modified: trunk/schmitzm-gt/src/main/java/de/schmitzm/geotools/styling/chartsymbols/ChartGraphic.java
===================================================================
--- trunk/schmitzm-gt/src/main/java/de/schmitzm/geotools/styling/chartsymbols/ChartGraphic.java	2012-05-02 11:00:34 UTC (rev 1974)
+++ trunk/schmitzm-gt/src/main/java/de/schmitzm/geotools/styling/chartsymbols/ChartGraphic.java	2012-05-02 11:43:01 UTC (rev 1975)
@@ -404,12 +404,6 @@
 		return (Symbolizer) visitor.getCopy();
 	}
 
-	public static Symbolizer getFixDataLegendSymbolizer(Symbolizer sym) {
-		ChartGraphicLegendVisitor visitorLegend = new ChartGraphicLegendVisitor();
-		getFixDataSymbolizer(sym).accept(visitorLegend);
-		return (Symbolizer) visitorLegend.getCopy();
-	}
-
 	public static Graphic getFixDataSymbolizer(Graphic graphic) {
 
 		ChartGraphicPreviewFixStyleVisitor visitor = new ChartGraphicPreviewFixStyleVisitor();
@@ -611,7 +605,7 @@
 					}
 					return eg;
 				} catch (Exception e) {
-					Logger.getLogger(ChartGraphicPreviewFixStyleVisitor.class)
+					Logger.getLogger(ChartGraphic.class)
 							.error(e, e);
 					return eg;
 				}



More information about the Schmitzm-commits mailing list