LocalTaskImpl (@NotNull String id, @NotNull @Nls String summary) { LocalTaskImpl task = new LocalTaskImpl(id, summary); Date date = new Date(); task.setCreated(date); task.setUpdated(date); return task; }