Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2006-10-31 18:31:34 -0500
committermkersten2006-10-31 18:31:34 -0500
commit73c53ca524c7b66c4a719271f75428656ad910d6 (patch)
treee7b7ee40f8bebac522502b0daa3f553bbfb7b6aa /org.eclipse.mylyn.trac.core/src
parent4e6bfeb38e77626a79f4c41e1d29a9632cc62570 (diff)
downloadorg.eclipse.mylyn.tasks-73c53ca524c7b66c4a719271f75428656ad910d6.tar.gz
org.eclipse.mylyn.tasks-73c53ca524c7b66c4a719271f75428656ad910d6.tar.xz
org.eclipse.mylyn.tasks-73c53ca524c7b66c4a719271f75428656ad910d6.zip
NEW - bug 162600: Usage of internal class breaks Mylar on latest integration build I20061024-1200
https://bugs.eclipse.org/bugs/show_bug.cgi?id=162600
Diffstat (limited to 'org.eclipse.mylyn.trac.core/src')
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracXmlRpcClient.java10
1 files changed, 5 insertions, 5 deletions
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 e2423fe07..206daf8c1 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
@@ -121,7 +121,7 @@ public class TracXmlRpcClient extends AbstractTracClient {
private void checkForException(Object result) throws NumberFormatException, XmlRpcException {
if (result instanceof Map) {
- Map exceptionData = (Map) result;
+ Map<?, ?> exceptionData = (Map<?, ?>) result;
if (exceptionData.containsKey("faultCode") && exceptionData.containsKey("faultString")) {
throw new XmlRpcException(Integer.parseInt(exceptionData.get("faultCode").toString()),
(String) exceptionData.get("faultString"));
@@ -246,7 +246,7 @@ public class TracXmlRpcClient extends AbstractTracClient {
TracTicket ticket = new TracTicket((Integer) ticketResult[0]);
ticket.setCreated((Integer) ticketResult[1]);
ticket.setLastChanged((Integer) ticketResult[2]);
- Map attributes = (Map) ticketResult[3];
+ Map<?, ?> attributes = (Map<?, ?>) ticketResult[3];
for (Object key : attributes.keySet()) {
ticket.putValue(key.toString(), attributes.get(key).toString());
}
@@ -334,14 +334,14 @@ public class TracXmlRpcClient extends AbstractTracClient {
throw new OperationCanceledException();
}
- private TracComponent parseComponent(Map result) {
+ private TracComponent parseComponent(Map<?, ?> result) {
TracComponent component = new TracComponent((String) result.get("name"));
component.setOwner((String) result.get("owner"));
component.setDescription((String) result.get("description"));
return component;
}
- private TracMilestone parseMilestone(Map result) {
+ private TracMilestone parseMilestone(Map<?, ?> result) {
TracMilestone milestone = new TracMilestone((String) result.get("name"));
milestone.setCompleted(TracUtils.parseDate((Integer) result.get("completed")));
milestone.setDue(TracUtils.parseDate((Integer) result.get("due")));
@@ -349,7 +349,7 @@ public class TracXmlRpcClient extends AbstractTracClient {
return milestone;
}
- private TracVersion parseVersion(Map result) {
+ private TracVersion parseVersion(Map<?, ?> result) {
TracVersion version = new TracVersion((String) result.get("name"));
version.setTime(TracUtils.parseDate((Integer) result.get("time")));
version.setDescription((String) result.get("description"));

Back to the top