IDEA doesn't ask to import package if interface isn't marked as public

from what I know interfaces in java default to being public (implicitly), but IDEA doesn't seem to ask to import the package if the interface doesn't have the public accessor in the definition.

Is this a bug?     

1 comment
Comment actions Permalink

Interface visibility doesn't default to be public.

Interface fields default to be 'public static final' and interface methods default to 'public abstract'.

0

Please sign in to leave a comment.