pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Allman <...@allman.ms>
Subject Re: Constant Interface Antipattern
Date Thu, 22 Apr 2010 00:35:51 GMT
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
>
>
>
>
>
>

Mime
View raw message