diff --git a/platform/platform-api/src/com/intellij/ui/jcef/JBCefApp.java b/platform/platform-api/src/com/intellij/ui/jcef/JBCefApp.java index 12213b61d627..e80b17826863 100644 --- a/platform/platform-api/src/com/intellij/ui/jcef/JBCefApp.java +++ b/platform/platform-api/src/com/intellij/ui/jcef/JBCefApp.java @@ -306,7 +306,7 @@ public final class JBCefApp { * * @param consumer - the port number consumer. */ - public void getRemoteDebuggingPort(Consumer consumer) { + public void getRemoteDebuggingPort(Consumer<@Nullable Integer> consumer) { myDebuggingPort.whenCompleteAsync( (integer, throwable) -> { if (throwable != null) {