[Schmitzm-commits] r317 - trunk/src/org/geotools/gui/swing

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Aug 26 15:22:30 CEST 2009


Author: alfonx
Date: 2009-08-26 15:22:29 +0200 (Wed, 26 Aug 2009)
New Revision: 317

Modified:
   trunk/src/org/geotools/gui/swing/JMapPane.java
Log:
Replaced a String/String == comparison with equals.

Modified: trunk/src/org/geotools/gui/swing/JMapPane.java
===================================================================
--- trunk/src/org/geotools/gui/swing/JMapPane.java	2009-08-26 11:23:46 UTC (rev 316)
+++ trunk/src/org/geotools/gui/swing/JMapPane.java	2009-08-26 13:22:29 UTC (rev 317)
@@ -693,7 +693,7 @@
 			String name = layer.getFeatureSource().getSchema()
 					.getDefaultGeometry().getLocalName();
 
-			if (name == "") {
+			if ("".equals("")) {
 				name = "the_geom";
 			}
 



More information about the Schmitzm-commits mailing list