diff options
author | relves | 2006-11-23 18:00:34 +0000 |
---|---|---|
committer | relves | 2006-11-23 18:00:34 +0000 |
commit | 15bee97fa54783888e332a741cd410300b3027fd (patch) | |
tree | cda8eb8f56546c07efd4742bc7724c34f7a635f8 /org.eclipse.mylyn.tasks.core/src | |
parent | 492dcd7001c35582c783c8742d100e07675cdfcc (diff) | |
download | org.eclipse.mylyn.tasks-15bee97fa54783888e332a741cd410300b3027fd.tar.gz org.eclipse.mylyn.tasks-15bee97fa54783888e332a741cd410300b3027fd.tar.xz org.eclipse.mylyn.tasks-15bee97fa54783888e332a741cd410300b3027fd.zip |
REOPENED - bug 142039: highlight bug report items changed since last viewing
https://bugs.eclipse.org/bugs/show_bug.cgi?id=142039
Diffstat (limited to 'org.eclipse.mylyn.tasks.core/src')
-rw-r--r-- | org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AttributeContainer.java | 4 | ||||
-rw-r--r-- | org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/RepositoryTaskData.java | 27 |
2 files changed, 8 insertions, 23 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AttributeContainer.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AttributeContainer.java index 09d32ea6b..6ad3b4c3e 100644 --- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AttributeContainer.java +++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AttributeContainer.java @@ -33,8 +33,8 @@ public class AttributeContainer implements Serializable { /** report attributes (status, resolution, etc.) */ private HashMap<String, RepositoryTaskAttribute> attributes; - - transient private AbstractAttributeFactory attributeFactory; + + private transient AbstractAttributeFactory attributeFactory; public AttributeContainer(AbstractAttributeFactory attributeFactory) { this.attributeFactory = attributeFactory; diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/RepositoryTaskData.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/RepositoryTaskData.java index f0806efd6..5fbba56d5 100644 --- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/RepositoryTaskData.java +++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/RepositoryTaskData.java @@ -23,15 +23,15 @@ import java.util.StringTokenizer; * @author Rob Elves */ public class RepositoryTaskData extends AttributeContainer implements Serializable { - + + private boolean hasLocalChanges = false; + private static final long serialVersionUID = 2746931358107812373L; public static final String VAL_STATUS_NEW = "NEW"; private String reportID; - private boolean hasChanges = false; - private String repositoryURL; protected String newComment = ""; @@ -42,25 +42,10 @@ public class RepositoryTaskData extends AttributeContainer implements Serializab /** The operation that was selected to do to the bug */ protected RepositoryOperation selectedOperation = null; - - /** Whether or not this bug report is saved offline. */ - protected boolean savedOffline = false; - - protected String charset = null; - + /** The repositoryOperations that can be done on the report */ protected List<RepositoryOperation> repositoryOperations = new ArrayList<RepositoryOperation>(); - // private static final RepositoryTaskAttributeFactory attributeFactory = - // new BugzillaAttributeFactory(); - - // /** Parser for dates in the report */ - // private static SimpleDateFormat delta_ts_format = new - // SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); - // - // private static SimpleDateFormat creation_ts_format = new - // SimpleDateFormat("yyyy-MM-dd HH:mm"); - /** The bugs valid keywords */ protected List<String> validKeywords; @@ -311,11 +296,11 @@ public class RepositoryTaskData extends AttributeContainer implements Serializab } public boolean hasLocalChanges() { - return hasChanges; + return hasLocalChanges; } public void setHasLocalChanges(boolean b) { - hasChanges = b; + hasLocalChanges = b; } public List<String> getAttributeValues(String key) { |