ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <>
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 :-)



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message