Document wildcard imports

master
Sam Brannen 7 years ago
parent
commit
26d16fe9e8
  1. 4
      Code-Style.md

4
Code-Style.md

@ -76,7 +76,9 @@ The import statements are structured as follow: @@ -76,7 +76,9 @@ The import statements are structured as follow:
* blank line
* import static all other imports
Also, static imports should not be used in production code. They should be used in test code, especially for things like `org.junit.Assert`.
Static imports should not be used in production code. They should be used in test code, especially for things like `import static org.assertj.core.api.Assertions.assertThat;`.
Wildcard imports such as `import java.util.*;` or `import static org.assertj.core.api.Assertions.*` are forbidden, even in test code.
### Java source file organization

Loading…
Cancel
Save