Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2007-06-21 15:05:50 -0400
committermkersten2007-06-21 15:05:50 -0400
commit9f6112bdf34c1d0a52aabfee843dc545522e997e (patch)
tree489b052a1208ac9320b7f6ed96aab3054f4c5f61
parentb4bebeb01504f12a0f7ed6798d1e8395372baece (diff)
downloadorg.eclipse.mylyn.tasks-9f6112bdf34c1d0a52aabfee843dc545522e997e.tar.gz
org.eclipse.mylyn.tasks-9f6112bdf34c1d0a52aabfee843dc545522e997e.tar.xz
org.eclipse.mylyn.tasks-9f6112bdf34c1d0a52aabfee843dc545522e997e.zip
NEW - bug 185351: [performance] Need to optimize calculation of Task hash code
https://bugs.eclipse.org/bugs/show_bug.cgi?id=185351
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractTask.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractTask.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractTask.java
index ab8a3b448..df1511308 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractTask.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractTask.java
@@ -27,7 +27,7 @@ import org.eclipse.mylyn.internal.tasks.core.RepositoryTaskHandleUtil;
public abstract class AbstractTask extends AbstractTaskContainer {
public static final String DEFAULT_TASK_KIND = "task";
-
+
private String repositoryUrl;
private String kind = DEFAULT_TASK_KIND;
@@ -87,9 +87,6 @@ public abstract class AbstractTask extends AbstractTaskContainer {
private int estimatedTimeHours = 1;
-
-
-
public enum PriorityLevel {
P1, P2, P3, P4, P5;
@@ -171,9 +168,6 @@ public abstract class AbstractTask extends AbstractTaskContainer {
}
public final String getHandleIdentifier() {
- // Note: when removing this consider implications to repository url refactoring
- // which only sets the repository url (so if we simply return handle here it will
- // be incorrect after a refactoring).
return RepositoryTaskHandleUtil.getHandle(repositoryUrl, taskId);
}

Back to the top