AtomicNotNullLazyValue#createValue overrides NotNullLazyValue#createValue intentional...
authorSergey Simonchik <sergey.simonchik@jetbrains.com>
Mon, 15 Aug 2016 11:16:09 +0000 (14:16 +0300)
committerSergey Simonchik <sergey.simonchik@jetbrains.com>
Mon, 15 Aug 2016 11:16:09 +0000 (14:16 +0300)
platform/util/src/com/intellij/openapi/util/AtomicNotNullLazyValue.java

index 108e0443a3491de5905daca0363879efe2f32f3e..f0abdd352c81c5f6a5665e4121556500468809a8 100644 (file)
@@ -46,8 +46,9 @@ public abstract class AtomicNotNullLazyValue<T> extends NotNullLazyValue<T> {
     return value;
   }
 
+  @SuppressWarnings("MethodOverridesStaticMethodOfSuperclass")
   @NotNull
-  public static <T> AtomicNotNullLazyValue<T> create(@NotNull final NotNullFactory<T> value) {
+  public static <T> AtomicNotNullLazyValue<T> createValue(@NotNull final NotNullFactory<T> value) {
     return new AtomicNotNullLazyValue<T>() {
       @NotNull
       @Override