diff options
author | Sergey Prigogin | 2016-10-14 18:57:33 +0000 |
---|---|---|
committer | Sergey Prigogin | 2016-10-14 20:55:20 +0000 |
commit | 3712ffe070c523ab17649977fcf8787f57132c57 (patch) | |
tree | b656a701495646a09a79bfd1869443de44939381 | |
parent | 0102719c78c4adf685da7873143f8c37f853eb5f (diff) | |
download | eclipse.platform.team-3712ffe070c523ab17649977fcf8787f57132c57.tar.gz eclipse.platform.team-3712ffe070c523ab17649977fcf8787f57132c57.tar.xz eclipse.platform.team-3712ffe070c523ab17649977fcf8787f57132c57.zip |
Bug 505996 - Can't apply patch: AFE
Change-Id: If9f5bf1034dcbe55ce7a9140c15b5d66d3ef4706
-rw-r--r-- | bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/HunkTypedElement.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/HunkTypedElement.java b/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/HunkTypedElement.java index c5b070270..9f2091ee4 100644 --- a/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/HunkTypedElement.java +++ b/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/HunkTypedElement.java @@ -104,7 +104,7 @@ public class HunkTypedElement implements ITypedElement, IEncodedStreamContentAcc public Object getAdapter(Class adapter) { if (adapter == IHunk.class) - return fHunkResult; + return fHunkResult.getHunk(); if (adapter == HunkResult.class) return fHunkResult; return Platform.getAdapterManager().getAdapter(this, adapter); |