Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2006-11-24 19:47:21 -0500
committermkersten2006-11-24 19:47:21 -0500
commit9ce9ea727161f0b9d74e87affdf2d6f7ec3bffa9 (patch)
treeb51ba650f71499b36db47339af6fec7b58fe8acb /org.eclipse.mylyn.trac.core/src
parentf16537e1ddfeeda1ce5af783fb240144b84b728e (diff)
downloadorg.eclipse.mylyn.tasks-9ce9ea727161f0b9d74e87affdf2d6f7ec3bffa9.tar.gz
org.eclipse.mylyn.tasks-9ce9ea727161f0b9d74e87affdf2d6f7ec3bffa9.tar.xz
org.eclipse.mylyn.tasks-9ce9ea727161f0b9d74e87affdf2d6f7ec3bffa9.zip
NEW - bug 149606: non-Java resource fails to show when source folder is not interesting
https://bugs.eclipse.org/bugs/show_bug.cgi?id=149606
Diffstat (limited to 'org.eclipse.mylyn.trac.core/src')
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/Trac09Client.java1
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttributeFactory.java1
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracQueryHit.java2
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracXmlRpcClient.java1
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracSearchFilter.java1
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicket.java3
6 files changed, 8 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/Trac09Client.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/Trac09Client.java
index 4cf8a0cdf..c1e51b6d0 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/Trac09Client.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/Trac09Client.java
@@ -326,6 +326,7 @@ public class Trac09Client extends AbstractTracClient {
}
}
+ @Override
public void updateAttributes(IProgressMonitor monitor) throws TracException {
monitor.beginTask("Updating attributes", IProgressMonitor.UNKNOWN);
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttributeFactory.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttributeFactory.java
index 2b8143123..5e50494d5 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttributeFactory.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttributeFactory.java
@@ -97,6 +97,7 @@ public class TracAttributeFactory extends AbstractAttributeFactory {
return isReadOnly;
}
+ @Override
public String toString() {
return prettyName;
}
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracQueryHit.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracQueryHit.java
index 802dfd7e2..4631624dc 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracQueryHit.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracQueryHit.java
@@ -28,12 +28,14 @@ public class TracQueryHit extends AbstractQueryHit {
super(taskList, AbstractRepositoryTask.getRepositoryUrl(handle), "", AbstractRepositoryTask.getTaskId(handle));
}
+ @Override
protected AbstractRepositoryTask createTask() {
TracTask newTask = new TracTask(getHandleIdentifier(), getSummary(), true);
newTask.setPriority(priority);
return newTask;
}
+ @Override
public String getUrl() {
return getRepositoryUrl() + ITracClient.TICKET_URL + getId();
}
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracXmlRpcClient.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracXmlRpcClient.java
index 8a78858c5..beafe3a6c 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracXmlRpcClient.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracXmlRpcClient.java
@@ -258,6 +258,7 @@ public class TracXmlRpcClient extends AbstractTracClient {
return ticket;
}
+ @Override
public synchronized void updateAttributes(IProgressMonitor monitor) throws TracException {
monitor.beginTask("Updating attributes", 8);
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracSearchFilter.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracSearchFilter.java
index 42f5c2942..70dee1061 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracSearchFilter.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracSearchFilter.java
@@ -52,6 +52,7 @@ public class TracSearchFilter {
return queryValue;
}
+ @Override
public String toString() {
switch (this) {
case CONTAINS:
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicket.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicket.java
index 9c91acd5b..80e3adaa1 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicket.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicket.java
@@ -53,6 +53,7 @@ public class TracTicket {
this.key = key;
}
+ @Override
public String toString() {
return key;
}
@@ -164,7 +165,7 @@ public class TracTicket {
}
putBuiltinValue(key, value);
} else if (value instanceof String) {
- putCustomValue(keyName, (String) value);
+ putCustomValue(keyName, value);
} else {
throw new InvalidTicketException("Expected string value for custom key '" + keyName + "', got '" + value
+ "'");

Back to the top