Hi Alejandro,

I don't see any constants there, just a nested class. It's not like you can do

foo = ComponentListener.Adapter;

Cheers,

Michael


On Wed, 21 Apr 2010, Alejandro Vilar wrote:

Hi, just an observation but there are many places where this anti-pattern
appears, for example ComponentListener.Adapter, anybody aware of that?



Refs:

http://en.wikipedia.org/wiki/Constant_interface

http://java.sun.com/j2se/1.5.0/docs/guide/language/static-import.html



Cheers,

-Alejandro






Reply via email to