Kev Jackson wrote:
- lowercase tags
- removed some nesting

I'm seeing a lot of empty default constructors. Is there a policy for keeping these? I get moans about uncommented empty blocks, but I'd rather remove them if they aren't required


It is dangerous to remove default constructors. If you rely on an implicit default constructor and someone comes and adds a new constructor to a class, the implicit default constructor silently goes away. Since a lot of instance in Ant are constructed by reflection, this will not necessarily cause compilation errors. IOW, default constructors are required and probably should be specified in all cases rather than relying on the implicit version.


Conor

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to