Sonar Issue
Violation : Explicitly Import the Specific Classes Needed
Rule : Wildcard imports should not be used
IntelliJ IDEA Menu Navigation
Settings > Editor > Code Style > Java > Imports tab
Change the value in, Class count to use import with '*' : to a value higher than the usage count of repetitive class asserts, to avoid wildcard import ( a higher value like 150 ).
Note : The default value 999 will not work. Also the "Use single class import" tick removal will also not work.
...
No comments:
Post a Comment