Update AbstractCollector.java