DefaultFeatureReference.patch

Ignacio Brodín, 03/28/2012 05:52 PM

Download (700 Bytes)

View differences:

src/org/gvsig/fmap/dal/feature/impl/DefaultFeatureReference.java (working copy)
150 150
		if (this.oid != null) {
151 151
			return this.oid.equals(other.oid);
152 152
		}
153
		for (int i = 0; i < this.pk.length; i++) {
154
			if (!this.pk[i].equals(other.pk[i])) {
153
		if(pk != null) {
154
			if(other.pk == null)
155 155
				return false;
156
			for (int i = 0; i < this.pk.length; i++) {
157
				if (!this.pk[i].equals(other.pk[i])) {
158
					return false;
159
				}
156 160
			}
157 161
		}
158 162
		return true;