ISPN-4724 IntervalTree does not compile with java 8

JIra: https://issues.jboss.org/browse/ISPN-4724