app/src/test/java/com/davidmiguel/gobees/data/model/RecordingTest.java
Using the '.*' form of import should be avoided - org.junit.Assert.*. Open
Open
import static org.junit.Assert.*;
- Read upRead up
- Exclude checks
Checks that there are no import statements that use the *
notation.
Rationale: Importing all classes from a package or staticmembers from a class leads to tight coupling between packagesor classes and might lead to problems when a new version of alibrary introduces name clashes.
This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.