AtomicNotNullLazyValue#createValue overrides NotNullLazyValue#createValue intentionally (following IDEA-CR-13011)

This commit is contained in:
Sergey Simonchik
2016-08-15 14:16:09 +03:00
parent 0378cff6f8
commit 5a984e3d91
@@ -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