Skip to content

Commit

Permalink
CCE with getAdapter
Browse files Browse the repository at this point in the history
This was a regression in a specific version o EGit that unfortunately
found its way in compare as well.

Porting the fix from EGit commit
0aee49637c6fa6508f7185f61d4f9759789ebd3e

Bug: 579973
Change-Id: Ia821c066a4fc19f85445061fde3016c2c58e7084
  • Loading branch information
Kellindil committed Jun 13, 2022
1 parent 3031afe commit f8d7eba
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -196,7 +196,7 @@ public <T> T getAdapter(Class<T> adapter) {
}
return adapter.cast(getShowInSource(null));
} else if (adapter == Repository.class) {
return adapter.cast(adapter);
return adapter.cast(repository);
}
return super.getAdapter(adapter);
}
Expand Down

0 comments on commit f8d7eba

Please sign in to comment.