"Javier S. Lopez" skribis:

> "Paul Ebermann" <[EMAIL PROTECTED]> writes:
> 
> > "Javier S. Lopez" skribis:
> > 
> > > This is not going to be true all the time.
> > 
> > But IF it is true, it could be choosen?
>
> The question is how will jde know which one to choose?
> You have two interfaces with the same unqualified name, and it is perfectly 
> acceptable to implement either one of them, since it is not require for 
> an interface to be part of the same package to be implemented.

If I normally only write

---
package de.dclj.paul.collections;

class CustomArrayList implements CustomList
{

}
---,
the Compiler would (automatically) choose
de.dclj.paul.collections.CustomList,
not de.dclj.paul.tools.CustomList.

Why the Template-Generator could not
behave identically?

If in the same package (or java.lang) is no
so-named Interface, the choose-Dialog is perfect.

But that is not very bad, I just got
reminded that I forgot to delete the
old classfiles (in the tools-Package).

Paul

Reply via email to