Remove redundant imports in Java file in CLI

cat MyClass.java | grep ^import | sort | uniq

Leave a comment

Your comment