Removing unused import of method from java sun