Wildcard (star) imports like `import java.util.*;` are prohibited in the codebase as they reduce code readability and can cause naming conflicts. Always import specific classes individually.
Wildcard (star) imports like import java.util.*;
are prohibited in the codebase as they reduce code readability and can cause naming conflicts. Always import specific classes individually.
Configure your IDE to disallow wildcard imports:
Instead of:
import java.util.*;
Use:
import java.util.List;
import java.util.Map;
import java.util.Set;
This makes dependencies explicit and avoids potential name conflicts when classes with the same name exist in different packages.
Enter the URL of a public GitHub repository