[Schmitzm-commits] r1129 - trunk/src/schmitzm/geotools/feature

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Oct 14 23:26:23 CEST 2010


Author: mojays
Date: 2010-10-14 23:26:23 +0200 (Thu, 14 Oct 2010)
New Revision: 1129

Modified:
   trunk/src/schmitzm/geotools/feature/FeatureUtil.java
Log:


Modified: trunk/src/schmitzm/geotools/feature/FeatureUtil.java
===================================================================
--- trunk/src/schmitzm/geotools/feature/FeatureUtil.java	2010-10-14 21:22:28 UTC (rev 1128)
+++ trunk/src/schmitzm/geotools/feature/FeatureUtil.java	2010-10-14 21:26:23 UTC (rev 1129)
@@ -2552,7 +2552,7 @@
 		return cleanAttname(name, null);
 	}
 
-	static public final Pattern StringStartsWithNumber = Pattern
+	static public final Pattern STRING_STARTS_WITH_NUMBER_PATTERN = Pattern
 			.compile("^\\d.*$");
 
 	/**
@@ -2564,7 +2564,7 @@
 		String clean = IOUtil.cleanFilename(name);
 		clean = clean.toUpperCase();
 
-		if (StringStartsWithNumber.matcher(clean).find()) {
+		if (STRING_STARTS_WITH_NUMBER_PATTERN.matcher(clean).find()) {
 			clean = "_" + clean;
 		}
 



More information about the Schmitzm-commits mailing list