Revision 45041 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.impl/src/main/java/org/gvsig/expressionevaluator/impl/function/operator/EqOperator.java

View differences:

EqOperator.java
21 21
        if( op1==op2 ) {
22 22
            return true;
23 23
        }
24
        if( op1==null || op2==null ) {
25
            return false;
24
        int type = this.getType(op1, op2);
25
        if( (type & TYPE_NULL) == TYPE_NULL ) {
26
            return op1==op2;
26 27
        }
27
        int type = this.getType(op1, op2);
28 28
        if( (type & TYPE_DOUBLE) == TYPE_DOUBLE ) {
29 29
            double accuracy = MathUtils.EPSILON;
30 30
            if( interpreter.getAccuracy()!=null ) {

Also available in: Unified diff