From eb39d44a80136239cfde231533ac6a1404dcb01f Mon Sep 17 00:00:00 2001 From: Carlos Rafael Giani Date: Sun, 30 Oct 2022 00:45:05 +0200 Subject: [PATCH] IDEA/Android Studio: Restore wildcard import rules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit 9b1b797d09159fe7e3d0ee9d33047f1d863e1f43 disabled wildcard imports for these reasons: (Source: https://jiga.dev/avoiding-wildcard-imports-in-java-kotlin-with-intellij/) * Explicit imports clearly states what external classes the current class is directly using, provided that you don’t leave redundant imports in your code. * If there are two classes with the same name from different packages, it can introduce collision when using wildcard imports. * When multiple people are working in a project, wildcard imports can create confusion as to which classes are actually imported. Apparently, this got accidentally reverted. Signed-off-by: Carlos Rafael Giani --- .idea/codeStyles/Project.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index f9209c97b3..593acef4aa 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -3,7 +3,12 @@