protected Type commonType()

in src/main/java/org/apache/sling/scripting/sightly/java/compiler/impl/operator/NumericOpGen.java [59:64]


    protected Type commonType(Type leftType, Type rightType) {
        if (leftType == rightType && leftType == Type.LONG) {
            return Type.LONG;
        }
        return Type.DOUBLE;
    }