Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2008-09-14 02:20:58 +0000
committerspingel2008-09-14 02:20:58 +0000
commitfd57425b86b3050ac0be83174c009db15e874532 (patch)
tree956874e0559633da8423a27bde5293d39482a647 /org.eclipse.mylyn.tasks.core/src/org/eclipse
parent8e932712fdbf11e90681e1651eeeee6220905e48 (diff)
downloadorg.eclipse.mylyn.tasks-fd57425b86b3050ac0be83174c009db15e874532.tar.gz
org.eclipse.mylyn.tasks-fd57425b86b3050ac0be83174c009db15e874532.tar.xz
org.eclipse.mylyn.tasks-fd57425b86b3050ac0be83174c009db15e874532.zip
RESOLVED - bug 214179: add API-3.0 and other common tags to project settings for all Mylyn projects
https://bugs.eclipse.org/bugs/show_bug.cgi?id=214179
Diffstat (limited to 'org.eclipse.mylyn.tasks.core/src/org/eclipse')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/AbstractTask.java24
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskDataStorageManager.java4
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepository.java5
3 files changed, 5 insertions, 28 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/AbstractTask.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/AbstractTask.java
index 08abe53ab..2ec55caaa 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/AbstractTask.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/AbstractTask.java
@@ -1,5 +1,5 @@
/*******************************************************************************
-* Copyright (c) 2004, 2008 Tasktop Technologies and others.
+ * Copyright (c) 2004, 2008 Tasktop Technologies and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -295,9 +295,6 @@ public abstract class AbstractTask extends AbstractTaskContainer implements ITas
return getEstimatedTimeHours();
}
- /**
- * @since 3.0
- */
public int getEstimatedTimeHours() {
return estimatedTimeHours;
}
@@ -306,17 +303,10 @@ public abstract class AbstractTask extends AbstractTaskContainer implements ITas
this.estimatedTimeHours = estimated;
}
- /**
- * @API 3.0: Rename to internalAddParentContainer
- */
public void addParentContainer(AbstractTaskContainer container) {
containers.add(container);
}
- /**
- * @API 3.0: Rename to internalremoveParentContainer
- * @since 3.0
- */
public void removeParentContainer(AbstractTaskContainer container) {
containers.remove(container);
}
@@ -458,16 +448,10 @@ public abstract class AbstractTask extends AbstractTaskContainer implements ITas
this.stale = stale;
}
- /**
- * @since 3.0
- */
public Date getModificationDate() {
return modificationDate;
}
- /**
- * @since 3.0
- */
public void setModificationDate(Date modificationDate) {
if (!areEqual(this.modificationDate, modificationDate)) {
Date oldValue = this.modificationDate;
@@ -476,16 +460,10 @@ public abstract class AbstractTask extends AbstractTaskContainer implements ITas
}
}
- /**
- * @since 3.0
- */
public boolean isMarkReadPending() {
return markReadPending;
}
- /**
- * @since 3.0
- */
public void setMarkReadPending(boolean markReadPending) {
this.markReadPending = markReadPending;
}
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskDataStorageManager.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskDataStorageManager.java
index 5eeca5e41..e6546ef78 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskDataStorageManager.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskDataStorageManager.java
@@ -1,5 +1,5 @@
/*******************************************************************************
-* Copyright (c) 2004, 2008 Tasktop Technologies and others.
+ * Copyright (c) 2004, 2008 Tasktop Technologies and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -185,7 +185,7 @@ public class TaskDataStorageManager {
}
- // API 3.0 review: the state of the elements of changedAttribues could change between this call and the time state is written to disk, might need to make a full copy
+ // TODO review: the state of the elements of changedAttribues could change between this call and the time state is written to disk, might need to make a full copy
public void saveEdits(String repositoryUrl, String id, Set<RepositoryTaskAttribute> changedAttributes) {
TaskDataState state = retrieveState(repositoryUrl, id);
if (state != null) {
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepository.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepository.java
index 6599376b8..5c5c8375e 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepository.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepository.java
@@ -1,5 +1,5 @@
/*******************************************************************************
-* Copyright (c) 2004, 2008 Tasktop Technologies and others.
+ * Copyright (c) 2004, 2008 Tasktop Technologies and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -250,7 +250,6 @@ public final class TaskRepository extends PlatformObject {
headlessCreds.putAll(map);
}
} catch (CoreException e) {
- // API 3.0 propagate exception
StatusHandler.log(new Status(IStatus.ERROR, ITasksCoreConstants.ID_PLUGIN,
"Could not set authorization credentials", e));
}
@@ -275,7 +274,7 @@ public final class TaskRepository extends PlatformObject {
// TODO e3.4 move to new api
public void flushAuthenticationCredentials() {
- // API30: legacy support for versions prior to 2.2 that did not set the enable flag, remove for 3.0
+ // legacy support for versions prior to 2.2 that did not set the enable flag
setProperty(getKeyPrefix(AuthenticationType.HTTP) + ENABLED, null);
setProperty(getKeyPrefix(AuthenticationType.PROXY) + ENABLED, null);
setProperty(getKeyPrefix(AuthenticationType.REPOSITORY) + ENABLED, null);

Back to the top