Removed unnecessary constructors in Task.java