We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12165dc commit eaac6d4Copy full SHA for eaac6d4
src/main/java/com/github/_1c_syntax/bsl/languageserver/ParentProcessWatcher.java
@@ -65,11 +65,11 @@ public void watch() {
65
return;
66
}
67
68
- var processIsAlive = ProcessHandle.of(parentProcessId)
+ boolean processIsAlive = ProcessHandle.of(parentProcessId)
69
.map(ProcessHandle::isAlive)
70
- .orElse(Boolean.FALSE);
+ .orElse(false);
71
72
- if (processIsAlive.equals(Boolean.FALSE)) {
+ if (!processIsAlive) {
73
LOGGER.error("Parent process with pid {} is not found. Closing application...", parentProcessId);
74
languageServer.exit();
75
0 commit comments