From cb0cc5dfd5091989c88ae8cbb6d29a36f5e05564 Mon Sep 17 00:00:00 2001 From: Julia Beliaeva Date: Mon, 4 Dec 2017 20:30:14 +0300 Subject: [PATCH] [file-history] add @NotNull annotation to getComparator methods --- .../intellij/openapi/vcs/history/FileHistoryPanelImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java index 6775f6144725..4035d2ac126f 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java @@ -725,7 +725,7 @@ public class FileHistoryPanelImpl extends PanelWithActionsAndCloseButton impleme }; } - @Nullable + @NotNull @Override public Comparator getComparator() { return comparing(revision -> valueOf(revision)); @@ -823,7 +823,7 @@ public class FileHistoryPanelImpl extends PanelWithActionsAndCloseButton impleme return StringUtil.repeatSymbol('m', 14); } - @Nullable + @NotNull @Override public Comparator getComparator() { return comparing(revision -> valueOf(revision)); @@ -875,7 +875,7 @@ public class FileHistoryPanelImpl extends PanelWithActionsAndCloseButton impleme return myRenderer; } - @Nullable + @NotNull @Override public Comparator getComparator() { return comparing(revision -> valueOf(revision));