Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2015-12-12 02:03:45 -0500
committerAlexander Kurtakov2015-12-12 02:48:18 -0500
commitc9dca4764142541fe7282b01698246931637ddf2 (patch)
tree3053fe241cd0833337b071a662fcd91798d2ab0b /changelog
parent824945a59650961a48b90b44037d8181cbd649c4 (diff)
downloadorg.eclipse.linuxtools-c9dca4764142541fe7282b01698246931637ddf2.tar.gz
org.eclipse.linuxtools-c9dca4764142541fe7282b01698246931637ddf2.tar.xz
org.eclipse.linuxtools-c9dca4764142541fe7282b01698246931637ddf2.zip
Adapt to Neon M4 changes.
* Generify SpecfileEditor.getAdapter and remove useless casts thanks to that. * Move away of deprecated ViewerSorter to ViewerComparator. Change-Id: Ic0f4d6ca835a47c206cc9bebc69f75ee79a452ed Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/62547 Tested-by: Hudson CI
Diffstat (limited to 'changelog')
-rw-r--r--changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/editors/GNUHyperlinkDetector.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/editors/GNUHyperlinkDetector.java b/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/editors/GNUHyperlinkDetector.java
index 505b09a94c..a3b96befb6 100644
--- a/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/editors/GNUHyperlinkDetector.java
+++ b/changelog/org.eclipse.linuxtools.changelog.core/src/org/eclipse/linuxtools/internal/changelog/core/editors/GNUHyperlinkDetector.java
@@ -73,7 +73,7 @@ public class GNUHyperlinkDetector extends AbstractHyperlinkDetector {
public IHyperlink[] detectHyperlinks(ITextViewer textViewer,
IRegion region, boolean canShowMultipleHyperlinks) {
if (documentLocation == null) {
- ITextEditor ed = (ITextEditor) this.getAdapter(ITextEditor.class);
+ ITextEditor ed = this.getAdapter(ITextEditor.class);
documentLocation = getDocumentLocation(ed);
}

Back to the top