Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2011-08-12 06:52:29 -0400
committerSteffen Pingel2011-08-12 06:52:29 -0400
commit22b051b4dea5145ce05ab01277179429d4cf8c35 (patch)
treef54f2402d070b559a3dc306f4609147cc350bc73
parent0d04617bca51fc4bbcc177418edb661d65a6b44a (diff)
downloadorg.eclipse.mylyn.tasks-22b051b4dea5145ce05ab01277179429d4cf8c35.tar.gz
org.eclipse.mylyn.tasks-22b051b4dea5145ce05ab01277179429d4cf8c35.tar.xz
org.eclipse.mylyn.tasks-22b051b4dea5145ce05ab01277179429d4cf8c35.zip
bug 349598: [patch] PersonProposalProvider should set currentUser when
populated by connectors https://bugs.eclipse.org/bugs/show_bug.cgi?id=349598
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PersonProposalProvider.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PersonProposalProvider.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PersonProposalProvider.java
index 74388c4bb..52acaf20f 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PersonProposalProvider.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PersonProposalProvider.java
@@ -208,15 +208,11 @@ public class PersonProposalProvider implements IContentProposalProvider {
});
if (proposals.size() > 0) {
- String user = null;
if (repositoryUrl != null && connectorKind != null) {
- user = getCurrentUser(repositoryUrl, connectorKind);
+ currentUser = getCurrentUser(repositoryUrl, connectorKind);
}
for (String proposal : proposals.keySet()) {
addAddress(addressSet, proposal);
- if (user != null && user.equals(proposal)) {
- currentUser = user;
- }
}
return addressSet;
}

Back to the top