Details
-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b15
Description
JavacTask is an abstract class with a default constructor.
By itself, this is not wrong but the default constructor shows up in the API documentation as an undocumented public constructor, giving the incorrect illusion that the class can be instantiated.
It would be better to provide a protected no-args constructor, to make it clearer that this class cannot be directly instantiated.
By itself, this is not wrong but the default constructor shows up in the API documentation as an undocumented public constructor, giving the incorrect illusion that the class can be instantiated.
It would be better to provide a protected no-args constructor, to make it clearer that this class cannot be directly instantiated.