mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Don't mark PairFunction return type as Nullable
Otherwise it requires all clients to check for null.
This commit is contained in:
@@ -15,13 +15,11 @@
|
||||
*/
|
||||
package com.intellij.util;
|
||||
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
* @author max
|
||||
*/
|
||||
public interface PairFunction<Arg1, Arg2, ResultType> {
|
||||
@Nullable
|
||||
|
||||
ResultType fun(Arg1 t, Arg2 v);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user