[keycloak-dev] Don't import * please!

Bill Burke bburke at redhat.com
Tue May 23 10:37:42 EDT 2017


Another one is, requires you to import code into an IDE to find where 
classes are i.e. if you're browsing code through github.  I find it 
useful other times as well, that I just can't remember.

On 5/23/17 10:19 AM, Martin Hardselius wrote:
> It clutters your local namespace.
> On Mon, 22 May 2017 at 08:21, Stian Thorgersen <sthorger at redhat.com 
> <mailto:sthorger at redhat.com>> wrote:
>
>     Why is this a problem?
>
>     On 19 May 2017 at 17:37, Bill Burke <bburke at redhat.com
>     <mailto:bburke at redhat.com>> wrote:
>
>     > Please make your IDE import the full classname.  This is not
>     allowed:
>     >
>     > import java.uti.*;
>     >
>     > All imports must be fully qualified.  A number of people are
>     making this
>     > mistake lately.
>     >
>     > Thanks,
>     >
>     > Bill
>     >
>     > _______________________________________________
>     > keycloak-dev mailing list
>     > keycloak-dev at lists.jboss.org <mailto:keycloak-dev at lists.jboss.org>
>     > https://lists.jboss.org/mailman/listinfo/keycloak-dev
>     >
>     _______________________________________________
>     keycloak-dev mailing list
>     keycloak-dev at lists.jboss.org <mailto:keycloak-dev at lists.jboss.org>
>     https://lists.jboss.org/mailman/listinfo/keycloak-dev
>



More information about the keycloak-dev mailing list