Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2010-02-24 01:43:22 +0000
committerspingel2010-02-24 01:43:22 +0000
commit757886a8033569aab4bdeecd54fb6201795ef771 (patch)
tree2e25c99efd9d4619908efccab5678b60733f3f06 /org.eclipse.mylyn.trac.core
parent30f92f824b6f1599e91d7c142619307d1f12a7a2 (diff)
downloadorg.eclipse.mylyn.tasks-757886a8033569aab4bdeecd54fb6201795ef771.tar.gz
org.eclipse.mylyn.tasks-757886a8033569aab4bdeecd54fb6201795ef771.tar.xz
org.eclipse.mylyn.tasks-757886a8033569aab4bdeecd54fb6201795ef771.zip
NEW - bug 302792: Trac tests spuriously fail with authentication errors
https://bugs.eclipse.org/bugs/show_bug.cgi?id=302792
Diffstat (limited to 'org.eclipse.mylyn.trac.core')
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracWebClient.java10
1 files changed, 1 insertions, 9 deletions
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracWebClient.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracWebClient.java
index 6ad5bff45..9d13e63ac 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracWebClient.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracWebClient.java
@@ -94,15 +94,7 @@ public class TracWebClient extends AbstractTracClient {
if (!authenticated) {
AuthenticationCredentials credentials = location.getCredentials(AuthenticationType.REPOSITORY);
if (credentialsValid(credentials)) {
- try {
- authenticate(monitor);
- } catch (TracLoginException e) {
- if (CoreUtil.TEST_MODE) {
- authenticate(monitor);
- } else {
- throw e;
- }
- }
+ authenticate(monitor);
}
}

Back to the top