diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/impl/LocalTaskImpl.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/impl/LocalTaskImpl.java index 67e4d8ed66a1..29a40cfcd07a 100644 --- a/plugins/tasks/tasks-core/src/com/intellij/tasks/impl/LocalTaskImpl.java +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/impl/LocalTaskImpl.java @@ -53,8 +53,11 @@ public class LocalTaskImpl extends LocalTask { private Date myCreated; protected Date myUpdated; private List myChangeLists = new ArrayList(); + private boolean myIssue; + private TaskRepository myRepository; private String myIssueUrl; + private TaskType myType = TaskType.OTHER; private String myDescription; private Comment[] myComments = new Comment[0]; @@ -75,6 +78,7 @@ public class LocalTaskImpl extends LocalTask { myId = origin.getId(); myIssue = origin.isIssue(); + myRepository = origin.getRepository(); copy(origin); @@ -178,6 +182,11 @@ public class LocalTaskImpl extends LocalTask { myIssue = issue; } + @Override + public TaskRepository getRepository() { + return myRepository; + } + public void setCreated(Date created) { myCreated = created; }