From e77f98e25e5f69a89c4b6587d0f34bc6c31455b5 Mon Sep 17 00:00:00 2001 From: Vladimir Kharitonov Date: Wed, 3 Apr 2024 10:59:49 +0200 Subject: [PATCH] IDEA-349638 JCEF: getRemoteDebuggingPort make port value nullable GitOrigin-RevId: 4d70402c493252c70632038c17b1db1c0c30c4e2 --- platform/platform-api/src/com/intellij/ui/jcef/JBCefApp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {