We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9447181 commit fe72794Copy full SHA for fe72794
src/main/java/org/jabref/logic/search/PostgreProcessCleaner.java
@@ -76,8 +76,7 @@ private void destroyPostgresProcess(int port) throws InterruptedException {
76
}
77
78
private void destroyProcessByPID(long pid) throws InterruptedException {
79
- Optional<ProcessHandle> aliveProcess = ProcessHandle.of(pid)
80
- .filter(ProcessHandle::isAlive);
+ Optional<ProcessHandle> aliveProcess = ProcessHandle.of(pid).filter(ProcessHandle::isAlive);
81
if (aliveProcess.isPresent()) {
82
aliveProcess.get().destroy();
83
Thread.sleep(PostgreProcessCleaner.POSTGRES_SHUTDOWN_WAIT_MILLIS);
0 commit comments