Revision 45938

View differences:

trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.impl/src/main/java/org/gvsig/fmap/dal/feature/impl/featurereference/FeatureReferenceOID.java
9 9
import java.util.Base64;
10 10
import java.util.Objects;
11 11
import javax.json.JsonObject;
12
import org.apache.commons.lang3.math.NumberUtils;
12 13
import org.gvsig.fmap.dal.exception.DataException;
13 14
import org.gvsig.fmap.dal.feature.Feature;
14 15
import org.gvsig.fmap.dal.feature.FeatureStore;
......
144 145
            return true;
145 146
        }
146 147
        if (this.oid != null) {
148
            if(this.oid instanceof Number && other.oid instanceof Number){
149
                return ((Number)this.oid).longValue() == ((Number)other.oid).longValue();
150
            }
147 151
            return this.oid.equals(other.oid);
148 152
        }
149 153
        return false;

Also available in: Unified diff