From ea3aa7a6232e8d8eb368231fd5f2d52e697e1927 Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Thu, 1 Nov 2012 12:46:10 +0400 Subject: [PATCH] FileAnnotation#getToolTip(): mark @Nullable, add this information to javadoc. --- .../com/intellij/openapi/vcs/annotate/FileAnnotation.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/platform/vcs-api/src/com/intellij/openapi/vcs/annotate/FileAnnotation.java b/platform/vcs-api/src/com/intellij/openapi/vcs/annotate/FileAnnotation.java index f2039a5a783e..d14d61b3e567 100644 --- a/platform/vcs-api/src/com/intellij/openapi/vcs/annotate/FileAnnotation.java +++ b/platform/vcs-api/src/com/intellij/openapi/vcs/annotate/FileAnnotation.java @@ -58,13 +58,15 @@ public interface FileAnnotation { LineAnnotationAspect[] getAspects(); /** - * The tooltip that is shown over annotation. Typically this - * is a comment associated with commit that has added or modified - * the line. + *

The tooltip that is shown over annotation. + * Typically this is a comment associated with commit that has added or modified the line.

+ * + *

If the method returns null, the tooltip is not shown for this line.

* * @param lineNumber the line number * @return the tooltip text */ + @Nullable String getToolTip(int lineNumber); /**