diff options
author | Steffen Pingel | 2011-07-18 22:25:44 +0000 |
---|---|---|
committer | Steffen Pingel | 2011-07-18 22:25:44 +0000 |
commit | aea786ee295d3dd24b06a88f1ddf8e19c813f7cc (patch) | |
tree | d75e1af28ef8dc015f5198d57ee27ead16315451 /org.eclipse.mylyn.bugzilla.core | |
parent | 247f0fe8ccc1d0ccd957b1393337e4bb744d7684 (diff) | |
download | org.eclipse.mylyn.tasks-aea786ee295d3dd24b06a88f1ddf8e19c813f7cc.tar.gz org.eclipse.mylyn.tasks-aea786ee295d3dd24b06a88f1ddf8e19c813f7cc.tar.xz org.eclipse.mylyn.tasks-aea786ee295d3dd24b06a88f1ddf8e19c813f7cc.zip |
NEW - bug 351256: Viewing bug details for Bugzilla failed, results in
blank screen
https://bugs.eclipse.org/bugs/show_bug.cgi?id=351256
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.core')
-rw-r--r-- | org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/SaxMultiBugReportContentHandler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/SaxMultiBugReportContentHandler.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/SaxMultiBugReportContentHandler.java index da8bab8a6..da763ea94 100644 --- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/SaxMultiBugReportContentHandler.java +++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/SaxMultiBugReportContentHandler.java @@ -684,9 +684,9 @@ public class SaxMultiBugReportContentHandler extends DefaultHandler { author.setName(comment.authorName); taskComment.setAuthor(author); if (useIsPrivate) { - taskComment.setIsPrivate(comment.isPrivate.equals("1")); //$NON-NLS-1$ + taskComment.setIsPrivate("1".equals(comment.isPrivate)); //$NON-NLS-1$ } else { - if (comment.isPrivate.equals("1")) { //$NON-NLS-1$ + if ("1".equals(comment.isPrivate)) { //$NON-NLS-1$ TaskRepository taskRepository = mapper.getTaskRepository(); taskRepository.setProperty(IBugzillaConstants.BUGZILLA_INSIDER_GROUP, "true"); //$NON-NLS-1$ useIsPrivate = true; |