diff options
author | Michael Keppler | 2018-10-20 13:39:51 +0000 |
---|---|---|
committer | Michael Keppler | 2018-10-20 13:39:51 +0000 |
commit | 4334462bf7a0fb27ade3a06bcf6c82898921c043 (patch) | |
tree | 43e3d44c7646d24877c0dbbd2a4d631e1fbdfce4 | |
parent | 4edfdcd50519bcaa1051db392e6cfbc2951c281c (diff) | |
download | egit-github-4334462bf7a0fb27ade3a06bcf6c82898921c043.tar.gz egit-github-4334462bf7a0fb27ade3a06bcf6c82898921c043.tar.xz egit-github-4334462bf7a0fb27ade3a06bcf6c82898921c043.zip |
[releng] Fix deprecated ViewerSorter usage
Change-Id: Icecaec547384b6247adfde6ae28a9421b41a07f1
Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
-rw-r--r-- | org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/gist/GistAttachmentPart.java | 4 |
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 |