Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2016-10-14 14:57:33 -0400
committerSergey Prigogin2016-10-14 16:55:20 -0400
commit3712ffe070c523ab17649977fcf8787f57132c57 (patch)
treeb656a701495646a09a79bfd1869443de44939381
parent0102719c78c4adf685da7873143f8c37f853eb5f (diff)
downloadeclipse.platform.team-3712ffe070c523ab17649977fcf8787f57132c57.tar.gz
eclipse.platform.team-3712ffe070c523ab17649977fcf8787f57132c57.tar.xz
eclipse.platform.team-3712ffe070c523ab17649977fcf8787f57132c57.zip
Bug 505996 - Can't apply patch: AFE
-rw-r--r--bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/HunkTypedElement.java2
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);

Back to the top