[Schmitzm-commits] r528 - branches/1.0-gt2-2.6/src/schmitzm/geotools/gui

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Nov 18 21:46:08 CET 2009


Author: alfonx
Date: 2009-11-18 21:46:08 +0100 (Wed, 18 Nov 2009)
New Revision: 528

Modified:
   branches/1.0-gt2-2.6/src/schmitzm/geotools/gui/GeoMapPane.java
Log:
removed some double action from the dispose method.. nothing special

Modified: branches/1.0-gt2-2.6/src/schmitzm/geotools/gui/GeoMapPane.java
===================================================================
--- branches/1.0-gt2-2.6/src/schmitzm/geotools/gui/GeoMapPane.java	2009-11-18 20:45:24 UTC (rev 527)
+++ branches/1.0-gt2-2.6/src/schmitzm/geotools/gui/GeoMapPane.java	2009-11-18 20:46:08 UTC (rev 528)
@@ -290,12 +290,13 @@
 	 *         Kr&uuml;ger</a>
 	 */
 	public void dispose() {
+		
 		if (isDisposed())
 			return;
 		scalePane=null;
 		horGrid=null;
 		vertGrid=null;
-		getMapContext().clearLayerList();
+		// Mach MapPane.dispose schon= getMapContext().clearLayerList();
 		mapPane.dispose();
 		removeAll();
 		disposed = true;



More information about the Schmitzm-commits mailing list