mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-104225 - CCE: GitAnnotationProvider.annotate
This commit is contained in:
+4
-1
@@ -284,7 +284,10 @@ public class AnnotateDiffViewerAction {
|
||||
@Nullable final FilePath path,
|
||||
@Nullable final VcsRevisionNumber revisionNumber) {
|
||||
if (vcs == null || path == null || revisionNumber == null) return null;
|
||||
if (revisionNumber instanceof TextRevisionNumber) return null;
|
||||
if (revisionNumber instanceof TextRevisionNumber ||
|
||||
revisionNumber == VcsRevisionNumber.NULL) {
|
||||
return null;
|
||||
}
|
||||
final AnnotationProvider annotationProvider = vcs.getAnnotationProvider();
|
||||
if (!(annotationProvider instanceof AnnotationProviderEx)) return null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user