From 64ab58dd00486a6da66fb8a841c6caa0d2a0b746 Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Thu, 6 Mar 2014 16:00:26 +0100 Subject: [PATCH] nullability --- .../com/intellij/openapi/util/AsyncValueLoaderManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/core-api/src/com/intellij/openapi/util/AsyncValueLoaderManager.java b/platform/core-api/src/com/intellij/openapi/util/AsyncValueLoaderManager.java index 6a658a746f58..65a08deee027 100644 --- a/platform/core-api/src/com/intellij/openapi/util/AsyncValueLoaderManager.java +++ b/platform/core-api/src/com/intellij/openapi/util/AsyncValueLoaderManager.java @@ -1,6 +1,6 @@ package com.intellij.openapi.util; -import com.intellij.openapi.util.AsyncResult; +import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.util.concurrent.atomic.AtomicReferenceFieldUpdater; @@ -13,11 +13,11 @@ public abstract class AsyncValueLoaderManager { this.fieldUpdater = fieldUpdater; } - public boolean checkFreshness(HOST host, VALUE value) { + public boolean checkFreshness(@NotNull HOST host, @NotNull VALUE value) { return true; } - public abstract void load(HOST host, AsyncResult result); + public abstract void load(@NotNull HOST host, @NotNull AsyncResult result); public final void reset(HOST host) { fieldUpdater.set(host, null);