Update Collector.java

complete checking idle/pass, metadata collecting