Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2007-06-23 03:23:24 +0000
committermkersten2007-06-23 03:23:24 +0000
commit05075dfa9713a99ca4970fec0b41c97912caa662 (patch)
treef396727109cdab7f15e80eb10baeca9f6f19700a /org.eclipse.mylyn.bugzilla.core
parent9672fd2b3025710361027bc641db39101543461d (diff)
downloadorg.eclipse.mylyn.tasks-05075dfa9713a99ca4970fec0b41c97912caa662.tar.gz
org.eclipse.mylyn.tasks-05075dfa9713a99ca4970fec0b41c97912caa662.tar.xz
org.eclipse.mylyn.tasks-05075dfa9713a99ca4970fec0b41c97912caa662.zip
REOPENED - bug 149624: [api] AbstractRepositoryTask repositoryUrl and task id should not be derived from handleIdentifier
https://bugs.eclipse.org/bugs/show_bug.cgi?id=149624
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.core')
-rw-r--r--org.eclipse.mylyn.bugzilla.core/.classpath2
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaCorePlugin.java4
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryConnector.java6
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataHandler.java4
4 files changed, 8 insertions, 8 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/.classpath b/org.eclipse.mylyn.bugzilla.core/.classpath
index ecb2bc3dc..d12be34be 100644
--- a/org.eclipse.mylyn.bugzilla.core/.classpath
+++ b/org.eclipse.mylyn.bugzilla.core/.classpath
@@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins">
<accessrules>
- <accessrule kind="discouraged" pattern="**/mylar/**/internal/**"/>
+ <accessrule kind="discouraged" pattern="**/mylyn/**/internal/**"/>
<accessrule kind="accessible" pattern="**/internal/**"/>
<accessrule kind="nonaccessible" pattern="**/System"/>
</accessrules>
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaCorePlugin.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaCorePlugin.java
index 6b976a481..08eeabff5 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaCorePlugin.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaCorePlugin.java
@@ -25,7 +25,7 @@ import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.Plugin;
import org.eclipse.core.runtime.Status;
-import org.eclipse.mylyn.internal.monitor.core.util.StatusManager;
+import org.eclipse.mylyn.monitor.core.StatusHandler;
import org.eclipse.mylyn.tasks.core.RepositoryTaskAttribute;
import org.eclipse.mylyn.tasks.core.RepositoryTaskData;
import org.eclipse.mylyn.tasks.core.TaskRepository;
@@ -340,7 +340,7 @@ public class BugzillaCorePlugin extends Plugin {
}
} catch (Exception e) {
- StatusManager.fail(e, "could not set platform options", false);
+ StatusHandler.fail(e, "could not set platform options", false);
}
}
}
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryConnector.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryConnector.java
index 69bb9f152..7a302b501 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryConnector.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryConnector.java
@@ -28,7 +28,7 @@ import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Status;
-import org.eclipse.mylyn.internal.monitor.core.util.StatusManager;
+import org.eclipse.mylyn.monitor.core.StatusHandler;
import org.eclipse.mylyn.tasks.core.AbstractAttachmentHandler;
import org.eclipse.mylyn.tasks.core.AbstractRepositoryConnector;
import org.eclipse.mylyn.tasks.core.AbstractRepositoryQuery;
@@ -306,7 +306,7 @@ public class BugzillaRepositoryConnector extends AbstractRepositoryConnector {
return true;
} catch (UnsupportedEncodingException e) {
// XXX throw CoreException instead?
- StatusManager.fail(e, "Repository configured with unsupported encoding: "
+ StatusHandler.fail(e, "Repository configured with unsupported encoding: "
+ repository.getCharacterEncoding() + "\n\n Unable to determine changed tasks.", true);
return false;
} finally {
@@ -425,7 +425,7 @@ public class BugzillaRepositoryConnector extends AbstractRepositoryConnector {
try {
return BugzillaClient.getBugUrlWithoutLogin(repositoryUrl, taskId);
} catch (Exception ex) {
- StatusManager.fail(ex, "Error constructing task url for " + repositoryUrl + " id:" + taskId, false);
+ StatusHandler.fail(ex, "Error constructing task url for " + repositoryUrl + " id:" + taskId, false);
}
return null;
}
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataHandler.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataHandler.java
index 3c4d6ceaa..47a65618a 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataHandler.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataHandler.java
@@ -22,7 +22,7 @@ import org.eclipse.core.runtime.IStatus;
import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants.BUGZILLA_OPERATION;
import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants.BUGZILLA_REPORT_STATUS;
import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants.BUGZILLA_RESOLUTION;
-import org.eclipse.mylyn.internal.monitor.core.util.StatusManager;
+import org.eclipse.mylyn.monitor.core.StatusHandler;
import org.eclipse.mylyn.tasks.core.AbstractAttributeFactory;
import org.eclipse.mylyn.tasks.core.AbstractTaskDataHandler;
import org.eclipse.mylyn.tasks.core.RepositoryOperation;
@@ -185,7 +185,7 @@ public class BugzillaTaskDataHandler extends AbstractTaskDataHandler {
try {
status = BUGZILLA_REPORT_STATUS.valueOf(bugReport.getStatus());
} catch (RuntimeException e) {
- StatusManager.log(e, "Unrecognized status: " + bugReport.getStatus());
+ StatusHandler.log(e, "Unrecognized status: " + bugReport.getStatus());
status = BUGZILLA_REPORT_STATUS.NEW;
}
switch (status) {

Back to the top