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/NeOperator.java

View differences:

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

Also available in: Unified diff