Changed ItemBasedCF to Java 7