Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2014-05-08 04:01:33 -0400
committerSteffen Pingel2014-05-15 14:05:40 -0400
commitb8c2e6c23ac9c26f5d5deaa3332d0e0e88f5ceda (patch)
tree0405a92ce356c3a5170aa5b8106a7bad945fa2bf
parent7076f1176af280c5b835908ec593f967eb688935 (diff)
downloadorg.eclipse.mylyn.tasks-b8c2e6c23ac9c26f5d5deaa3332d0e0e88f5ceda.tar.gz
org.eclipse.mylyn.tasks-b8c2e6c23ac9c26f5d5deaa3332d0e0e88f5ceda.tar.xz
org.eclipse.mylyn.tasks-b8c2e6c23ac9c26f5d5deaa3332d0e0e88f5ceda.zip
remove redundant setting of repository category
* The repository category is already set to "Bugs" in AbstractRepositoryConnector. Change-Id: Ieda1db62041bf9413c0fbc2b247b31debf2f36f9 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=403327
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracRepositorySettingsPage.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracRepositorySettingsPage.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracRepositorySettingsPage.java
index f28be58c1..30a1c1dbd 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracRepositorySettingsPage.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracRepositorySettingsPage.java
@@ -157,12 +157,6 @@ public class TracRepositorySettingsPage extends AbstractRepositorySettingsPage {
super.applyValidatorResult(validator);
}
- @Override
- public void applyTo(TaskRepository repository) {
- super.applyTo(repository);
- repository.setCategory(TaskRepository.CATEGORY_BUGS);
- }
-
// public for testing
public class TracValidator extends Validator {
@@ -253,7 +247,7 @@ public class TracRepositorySettingsPage extends AbstractRepositorySettingsPage {
if (version == Version.XML_RPC //
&& (info.isApiVersion(1, 0, 0) //
- || (info.isApiVersionOrHigher(1, 0, 3) && info.isApiVersionOrSmaller(1, 0, 5)))) {
+ || (info.isApiVersionOrHigher(1, 0, 3) && info.isApiVersionOrSmaller(1, 0, 5)))) {
setStatus(RepositoryStatus.createStatus(
repositoryUrl,
IStatus.INFO,

Back to the top