Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/gist/GistAttachmentPart.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/gist/GistAttachmentPart.java b/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/gist/GistAttachmentPart.java
index e101f101..9ed959e7 100644
--- a/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/gist/GistAttachmentPart.java
+++ b/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/gist/GistAttachmentPart.java
@@ -189,7 +189,7 @@ public class GistAttachmentPart extends AbstractTaskEditorPart {
ColumnViewerToolTipSupport.enableFor(attachmentsViewer,
ToolTip.NO_RECREATE);
- attachmentsViewer.setSorter(new GistAttachmentSorter());
+ attachmentsViewer.setComparator(new GistAttachmentSorter());
List<ITaskAttachment> attachmentList = new ArrayList<>(
attachments.size());
@@ -349,7 +349,7 @@ public class GistAttachmentPart extends AbstractTaskEditorPart {
/**
* Selects and shows in the table of attachments an attachment matching the
* given {@link TaskAttribute}.
- *
+ *
* @param attachmentAttribute
* to select
* @return whether an element was found and selected

Back to the top