https://github.com/walkmod/walkmod-imports-cleaner-plugin
Walkmod plugin to remove unused imports of Java source files
https://github.com/walkmod/walkmod-imports-cleaner-plugin
Last synced: 5 months ago
JSON representation
Walkmod plugin to remove unused imports of Java source files
- Host: GitHub
- URL: https://github.com/walkmod/walkmod-imports-cleaner-plugin
- Owner: walkmod
- License: lgpl-3.0
- Created: 2013-12-31T07:46:15.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2016-08-07T09:31:33.000Z (almost 10 years ago)
- Last Synced: 2024-05-28T17:34:03.637Z (about 2 years ago)
- Language: Java
- Homepage:
- Size: 16.6 KB
- Stars: 3
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.asciidoc
- License: LICENSE
Awesome Lists containing this project
README
walkmod-imports-cleaner-plugin
==============================
Raquel Pau
image:https://travis-ci.org/walkmod/walkmod-imports-cleaner-plugin.svg?branch=master["Build Status", link="https://travis-ci.org/walkmod/walkmod-imports-cleaner-plugin"]
This is a walkmod plugin to remove unused imports in Java source files. It does not remove static or wildcard imports.
== Usage
1) Verify that your walkmod version is > = 2.2.0
2) Execute the following command to add this code transformation plugin as part of your conventions.
----
walkmod add imports-cleaner
----
3) Now, You see the results, executing:
----
walkmod apply
----
Or, alternatively, you can also check which would be the modified classes typing:
----
walkmod check
----
== Contributing
If you want to hack on this, fork it, improve it and send me a pull request.
To get started using it, just clone it and call mvn install.