Hi list, I would like to highlight this ticket (1). I hope we manage to merge it in the foreseeable future. It will be in cassanra-4.1 and in trunk. Once in, by default, if there are unused imports in Java code, ant build will fail.
There will be a workaround by which you can skip failing when imports are unused - by "-Dno-checkstyle=true" flag. It is there for local development when you are just not interested in having the code clean on imports. The check will be present for tests as well (same flag). This should save us from going through the source code on reviews and writing these "nit: unused imports" and all imports will be used from now. Please let me know if there are any concerns and if this workflow is fine for you. <https://issues.apache.org/jira/browse/CASSANDRA-17876>(1) https://issues.apache.org/jira/browse/CASSANDRA-17876 Regards, Stefan Miklosovic