From 4ed1125ce7eacdd4e7bc1e6a6cbb953dced87edf Mon Sep 17 00:00:00 2001 From: Daniil Ovchinnikov Date: Fri, 14 Oct 2016 18:19:24 +0300 Subject: [PATCH] @NotNull --- platform/util/src/com/intellij/openapi/util/Key.java | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/util/src/com/intellij/openapi/util/Key.java b/platform/util/src/com/intellij/openapi/util/Key.java index ea307b6b8330..873ca501fe45 100644 --- a/platform/util/src/com/intellij/openapi/util/Key.java +++ b/platform/util/src/com/intellij/openapi/util/Key.java @@ -58,6 +58,7 @@ public class Key { return myName; } + @NotNull public static Key create(@NotNull @NonNls String name) { return new Key(name); }