ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
Subject PropertyHelper refactoring
Date Sat, 05 Jul 2003 14:50:02 GMT
I'd like to refactor PropertyHelper a bit and thought I'd get some opinions.

Currently PropertyHelper serves three different roles

1. The basic interface definition of a PropertyHelper
2. The implementation of the standard PropertyHelper
3. The factory for creating PropertyHelpers.

I'd like to separate the first two at least. As it stands, it is not clear 
which methods are part of the interface used by Project and which are just 
part of the standard implementation. Over time that will lead to confusion 
between the two roles.

So, I'd like to make PropertyHelper abstract and create a 
StandardPropertyHelper to implement the default behaviour. The factory method 
can remain in the abstract class. The PropertyHelper chaining could also stay 
and perhaps become final too.

I haven't looked in detail but ComponentHelper is probably going to be the 
same. Probably too late for ProjectHelper :-)

Thoughts?

Conor


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message