Skip to content

Commit 3c74cc4

Browse files
committed
Make checkstyle happy
Signed-off-by: Thomas Mäder <[email protected]>
1 parent b3e14c0 commit 3c74cc4

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/adapter/handler/InitializeRequestHandler.java

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -71,21 +71,24 @@ public CompletableFuture<Messages.Response> handle(Requests.Command command, Req
7171

7272
// Add breakpoint modes for suspend behavior
7373
Types.BreakpointMode[] breakpointModes = {
74+
new Types.BreakpointMode(
75+
Constants.SUSPEND_THREAD,
76+
"Suspend Thread",
77+
"Suspends only the thread that hit the breakpoint",
78+
new Types.BreakpointModeApplicability[] {
79+
Types.BreakpointModeApplicability.SOURCE
80+
// data and function breakpoints are not supported by VS Code
81+
// instruction breakpoints are not supported by this adapter
82+
}
83+
),
7484
new Types.BreakpointMode(
75-
Constants.SUSPEND_THREAD,
76-
"Suspend Thread",
77-
"Suspends only the thread that hit the breakpoint",
78-
new Types.BreakpointModeApplicability[] {
79-
Types.BreakpointModeApplicability.SOURCE
80-
// data and function breakpoints are not supported by VS Code
81-
// instruction breakpoints are not supported by this adapter
82-
}),
83-
new Types.BreakpointMode(
84-
Constants.SUSPEND_VM,
85-
"Suspend VM",
86-
"Suspends the entire virtual machine when breakpoint is hit",
87-
new Types.BreakpointModeApplicability[] {
88-
Types.BreakpointModeApplicability.SOURCE })
85+
Constants.SUSPEND_VM,
86+
"Suspend VM",
87+
"Suspends the entire virtual machine when breakpoint is hit",
88+
new Types.BreakpointModeApplicability[] {
89+
Types.BreakpointModeApplicability.SOURCE
90+
}
91+
)
8992
};
9093
caps.breakpointModes = breakpointModes;
9194

0 commit comments

Comments
 (0)