HDFS-5758: avoid unneeded import of java.util.Collections.