Revision 10627 trunk/libraries/libGDBMS/src/main/java/com/hardcode/gdbms/engine/instruction/OrExprAdapter.java

View differences:

OrExprAdapter.java
28 28
	public Value evaluate(long row) throws EvaluationException {
29 29
		Value ret = null;
30 30

  
31
		Adapter[] expr = (Adapter[]) getChilds();
31
		Adapter[] expr = getChilds();
32 32

  
33 33
		if (expr.length > 0) {
34 34
			ret = ((Expression) expr[0]).evaluateExpression(row);
......
37 37
				try {
38 38
                    ret = ret.or(((Expression) expr[i]).evaluateExpression(row));
39 39
                } catch (IncompatibleTypesException e) {
40
                    throw new EvaluationException(e);
40
                    throw new EvaluationException();
41 41
                }
42 42
			}
43 43
		}

Also available in: Unified diff