mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
@NotNull
This commit is contained in:
@@ -85,7 +85,7 @@ public abstract class RecursionGuard {
|
||||
*
|
||||
* @param since the id of a computation whose result is safe to cache whilst for more nested ones it's not.
|
||||
*/
|
||||
public abstract void prohibitResultCaching(Object since);
|
||||
public abstract void prohibitResultCaching(@NotNull Object since);
|
||||
|
||||
public interface StackStamp {
|
||||
|
||||
|
||||
@@ -156,7 +156,7 @@ public class RecursionManager {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void prohibitResultCaching(Object since) {
|
||||
public void prohibitResultCaching(@NotNull Object since) {
|
||||
MyKey realKey = new MyKey(id, since, false);
|
||||
final CalculationStack stack = ourStack.get();
|
||||
stack.enableMemoization(realKey, stack.prohibitResultCaching(realKey));
|
||||
|
||||
Reference in New Issue
Block a user