Commit 0d213dc4 authored by Egor Ushakov's avatar Egor Ushakov Committed by intellij-monorepo-bot
Browse files

added more Nullable for IJ-CR-108760

(cherry picked from commit 64d364763d6ae53baeb985afe4aa8a318893b58d)

IJ-CR-108760

GitOrigin-RevId: 689d7253929267b8b7fc1e6b9cc151c29ade6ad6
parent 19aa48d7
Branches unavailable Tags unavailable
No related merge requests found
Showing with 4 additions and 4 deletions
+4 -4
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.xdebugger.impl;
import com.intellij.CommonBundle;
......@@ -108,7 +108,7 @@ public class XDebuggerUtilImpl extends XDebuggerUtil {
}
@NotNull
public Promise<XLineBreakpoint> toggleAndReturnLineBreakpoint(@NotNull final Project project,
public Promise<@Nullable XLineBreakpoint> toggleAndReturnLineBreakpoint(@NotNull final Project project,
@NotNull final VirtualFile file,
final int line,
boolean temporary) {
......@@ -135,7 +135,7 @@ public class XDebuggerUtilImpl extends XDebuggerUtil {
}
@NotNull
public <P extends XBreakpointProperties> Promise<XLineBreakpoint> toggleAndReturnLineBreakpoint(@NotNull final Project project,
public <P extends XBreakpointProperties> Promise<@Nullable XLineBreakpoint> toggleAndReturnLineBreakpoint(@NotNull final Project project,
@NotNull final XLineBreakpointType<P> type,
@NotNull final VirtualFile file,
final int line,
......@@ -174,7 +174,7 @@ public class XDebuggerUtilImpl extends XDebuggerUtil {
}
@NotNull
public static Promise<XLineBreakpoint> toggleAndReturnLineBreakpoint(@NotNull final Project project,
public static Promise<@Nullable XLineBreakpoint> toggleAndReturnLineBreakpoint(@NotNull final Project project,
@NotNull List<? extends XLineBreakpointType> types,
@NotNull final XSourcePosition position,
final boolean temporary,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment