File tree Expand file tree Collapse file tree 1 file changed +3
-18
lines changed
common/src/main/java/org/eclipse/daanse/olap/calc/base/nested Expand file tree Collapse file tree 1 file changed +3
-18
lines changed Original file line number Diff line number Diff line change 1414
1515package org .eclipse .daanse .olap .calc .base .nested ;
1616
17- import org .eclipse .daanse .olap .api .Evaluator ;
1817import org .eclipse .daanse .olap .api .calc .Calc ;
1918import org .eclipse .daanse .olap .api .calc .DoubleCalc ;
2019import org .eclipse .daanse .olap .api .type .NumericType ;
2120import org .eclipse .daanse .olap .api .type .Type ;
2221import org .eclipse .daanse .olap .calc .base .AbstractProfilingNestedCalc ;
23- import org .eclipse .daanse .olap .fun .FunUtil ;
2422
2523/**
2624 * Abstract implementation of the
27- * {@link org.eclipse.daanse.olap.api.calc.IntegerCalc} interface.
28- *
29- * Handles nested child and profiling
25+ * {@link org.eclipse.daanse.olap.api.calc.DoubleCalc} interface.
3026 *
27+ * Handles nested child and profiling.
3128 */
3229public abstract class AbstractProfilingNestedDoubleCalc extends AbstractProfilingNestedCalc <Double >
3330 implements DoubleCalc {
34- /**
35- * {@inheritDoc}
36- *
37- */
31+
3832 protected AbstractProfilingNestedDoubleCalc (Type type , Calc <?>... calcs ) {
3933 super (type , calcs );
4034 requiresType (NumericType .class );
4135 }
42-
43- @ Override
44- public Double evaluateInternal (Evaluator evaluator ) {
45- final Double d = evaluate (evaluator );
46- if (d == FunUtil .DOUBLE_NULL ) {
47- return null ;
48- }
49- return Double .valueOf (d );
50- }
5136}
You can’t perform that action at this time.
0 commit comments