diff --git a/src/main/org/apache/tools/ant/taskdefs/Taskdef.java b/src/main/org/apache/tools/ant/taskdefs/Taskdef.java index 717bbe438..08a4052d4 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Taskdef.java +++ b/src/main/org/apache/tools/ant/taskdefs/Taskdef.java @@ -77,8 +77,11 @@ public class Taskdef extends Typedef { /** * Default constuctor. - * + * Creates a new Taskdef instance. + * This sets the adapter and the adaptto classes to + * TaskAdapter and Task. */ + public Taskdef() { setAdapterClass(TaskAdapter.class); setAdaptToClass(Task.class);