diff options
author | Leo Dos Santos | 2014-05-22 18:21:15 +0000 |
---|---|---|
committer | Sam Davis | 2014-05-22 18:37:38 +0000 |
commit | ccf683f95e4397fb7ac0303fe47e7bc2dd10e620 (patch) | |
tree | bc700c75f879b357d5cc996f74c9ce11336ec1da | |
parent | 34ccba4e34a494f33cfe72afc56478fb67b4479f (diff) | |
download | org.eclipse.mylyn.tasks-ccf683f95e4397fb7ac0303fe47e7bc2dd10e620.tar.gz org.eclipse.mylyn.tasks-ccf683f95e4397fb7ac0303fe47e7bc2dd10e620.tar.xz org.eclipse.mylyn.tasks-ccf683f95e4397fb7ac0303fe47e7bc2dd10e620.zip |
Remove extraneous LOWEST priority check
Change-Id: Idaef8a38e88349b07af0539090bd258c5a22e980
Signed-off-by: Leo Dos Santos <leo.dos.santos@tasktop.com>
-rw-r--r-- | org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryConnector.java | 9 |
1 files changed, 3 insertions, 6 deletions
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 f2e98d1aa..4e8047753 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 @@ -331,7 +331,7 @@ public class BugzillaRepositoryConnector extends AbstractRepositoryConnector { } catch (UnsupportedEncodingException e) { throw new CoreException(new Status(IStatus.ERROR, BugzillaCorePlugin.ID_PLUGIN, "Repository configured with unsupported encoding: " + repository.getCharacterEncoding() //$NON-NLS-1$ - + "\n\n Unable to determine changed tasks.", e)); //$NON-NLS-1$ + + "\n\n Unable to determine changed tasks.", e)); //$NON-NLS-1$ } finally { monitor.done(); } @@ -361,7 +361,7 @@ public class BugzillaRepositoryConnector extends AbstractRepositoryConnector { } if (syncSession.getData() == null && collector.getQueryTimestamp() != null) { - // Bugzilla 4.2 does not parse the timezone of the time stamp properly hence it needs to be persisted in + // Bugzilla 4.2 does not parse the timezone of the time stamp properly hence it needs to be persisted in // server time and not local time syncSession.setData(collector.getQueryTimestamp()); // Date queryDate = BugzillaAttributeMapper.parseDate(collector.getQueryTimestamp()); @@ -779,7 +779,7 @@ public class BugzillaRepositoryConnector extends AbstractRepositoryConnector { if (configuration == null) { throw new CoreException(new BugzillaStatus(IStatus.ERROR, BugzillaCorePlugin.ID_PLUGIN, RepositoryStatus.ERROR_INTERNAL, "Failed to retrieve repository configuration for " //$NON-NLS-1$ - + repository.getRepositoryUrl().toString())); + + repository.getRepositoryUrl().toString())); } return configuration; @@ -1015,9 +1015,6 @@ public class BugzillaRepositoryConnector extends AbstractRepositoryConnector { if (priority.equals("Lowest")) { //$NON-NLS-1$ return LOWEST; } - if (priority.equals("Lowest")) { //$NON-NLS-1$ - return LOWEST; - } if (priority.equals("---")) { //$NON-NLS-1$ return NONE; } |