Skip to content

Commit

Permalink
Ensuring unused imports are not allowed.
Browse files Browse the repository at this point in the history
Imports used only for JavaDoc purposes are also illegal.
  • Loading branch information
AlejandroRivera committed Aug 6, 2017
1 parent a7fc739 commit 47c7683
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
<property name="max" value="130"/>
</module>
<module name="UnusedImports"/>
<module name="AvoidStarImport"/>
<module name="OneTopLevelClass"/>
<module name="NoLineWrap"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@
import io.arivera.oss.embedded.rabbitmq.util.ArchiveType;
import io.arivera.oss.embedded.rabbitmq.util.OperatingSystem;

import java.net.URL;

/**
* Class used when user wants to define a custom RabbitMQ version and/or download source.
*
* @see EmbeddedRabbitMqConfig.Builder#version(Version)
* @see EmbeddedRabbitMqConfig.Builder#downloadFrom(URL, String)
* @see EmbeddedRabbitMqConfig.Builder#downloadFrom(java.net.URL, String)
*/
class CustomVersion implements Version {

Expand Down

0 comments on commit 47c7683

Please sign in to comment.