[Schmitzm-commits] r774 - trunk/src/schmitzm/geotools/feature
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Mar 25 12:07:42 CET 2010
Author: alfonx
Date: 2010-03-25 12:07:41 +0100 (Thu, 25 Mar 2010)
New Revision: 774
Modified:
trunk/src/schmitzm/geotools/feature/FeatureUtil.java
Log:
etwas debugging code entfernt
Modified: trunk/src/schmitzm/geotools/feature/FeatureUtil.java
===================================================================
--- trunk/src/schmitzm/geotools/feature/FeatureUtil.java 2010-03-23 16:56:54 UTC (rev 773)
+++ trunk/src/schmitzm/geotools/feature/FeatureUtil.java 2010-03-25 11:07:41 UTC (rev 774)
@@ -2262,7 +2262,7 @@
List<AttributeDescriptor> attributeDescriptors = schema
.getAttributeDescriptors();
if (attributeDescriptors.size() == 0) {
- LOGGER.error("The schmema has no attributes!");
+ LOGGER.warn("The schmema has no attributes!");
}
// Checking for exact match
@@ -2273,8 +2273,8 @@
// Checking for irgnoreCase match
for (AttributeDescriptor d : attributeDescriptors) {
if (d.getName().getLocalPart().equalsIgnoreCase(localName)) {
- LOGGER.error("Corrected attributeName '" + localName + "' to "
- + d.getName().getLocalPart());
+// LOGGER.error("Corrected attributeName '" + localName + "' to "
+// + d.getName().getLocalPart());
return new NameImpl( d.getName().getNamespaceURI(), d.getName().getLocalPart() );
}
}
@@ -2283,8 +2283,8 @@
for (AttributeDescriptor d : attributeDescriptors) {
if (d.getName().getLocalPart().replace(" ", "_").equalsIgnoreCase(
localName.replace(" ", "_"))) {
- LOGGER.error("Corrected attributeName '" + localName + "' to "
- + d.getName().getLocalPart());
+// LOGGER.error("Corrected attributeName '" + localName + "' to "
+// + d.getName().getLocalPart());
return new NameImpl( d.getName().getNamespaceURI(), d.getName().getLocalPart() );
}
}
More information about the Schmitzm-commits
mailing list