abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Koch <tho...@koch.ro>
Subject TODO: eliminate org.apache.abdera2.common.Constants
Date Tue, 24 Jan 2012 10:45:23 GMT
Is it OK, if I post small TODO items to the devs list to keep track of them or 
should I open issues?

Effective Java 2nd: "Item 19: Use interfaces only to define types

When a class implements an interface, the interface serves as a type that can
be used to refer to instances of the class. That a class implements an 
interface should therefore say something about what a client can do with 
instances of the class. It is inappropriate to define an interface for any 
other purpose.
One kind of interface that fails this test is the so-called constant 

eliminate org.apache.abdera2.common.Constants is such a Constants interface.

Thomas Koch, http://www.koch.ro

View raw message