Revision 33331 branches/v2_0_0_prep/libraries/libFMap_dal/src-test/org/gvsig/fmap/dal/feature/BaseTestEditableFeatureStore.java

View differences:

BaseTestEditableFeatureStore.java
645 645
		String attrName = null;
646 646
		while (fTypeIter.hasNext()){
647 647
			attr = (FeatureAttributeDescriptor) fTypeIter.next();
648
			if (attr.getDataType() == DataTypes.STRING && !attr.isReadOnly() && !attr.isPrimaryKey() && !attr.isAutomatic()){
648
			if (attr.getType() == DataTypes.STRING && !attr.isReadOnly() && !attr.isPrimaryKey() && !attr.isAutomatic()){
649 649
				attrName= attr.getName();
650 650
			}
651 651
		}

Also available in: Unified diff