From 57e5c5848bb3dd4a1c91ea0dc53815b3d6f75465 Mon Sep 17 00:00:00 2001 From: Sergey Ignatov Date: Fri, 23 Nov 2018 17:22:58 +0300 Subject: [PATCH] use nullable --- .../actions/searcheverywhere/SearchEverywhereContributor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/lang-api/src/com/intellij/ide/actions/searcheverywhere/SearchEverywhereContributor.java b/platform/lang-api/src/com/intellij/ide/actions/searcheverywhere/SearchEverywhereContributor.java index fd47833ef136..27cc6a23b85b 100644 --- a/platform/lang-api/src/com/intellij/ide/actions/searcheverywhere/SearchEverywhereContributor.java +++ b/platform/lang-api/src/com/intellij/ide/actions/searcheverywhere/SearchEverywhereContributor.java @@ -51,8 +51,8 @@ public interface SearchEverywhereContributor { return Collections.emptyList(); } - @NotNull - default String getAdvertisement() { return ""; } + @Nullable + default String getAdvertisement() { return null; } void fetchElements(@NotNull String pattern, boolean everywhere,