mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
git: cleanup - remove deprecated getter usage
This commit is contained in:
@@ -96,19 +96,20 @@ public class GitBinaryHandler extends GitHandler {
|
||||
|
||||
@Override
|
||||
protected void waitForProcess() {
|
||||
int exitCode;
|
||||
try {
|
||||
mySteamSemaphore.acquire(2);
|
||||
myProcess.waitFor();
|
||||
int exitCode = myProcess.exitValue();
|
||||
setExitCode(exitCode);
|
||||
exitCode = myProcess.exitValue();
|
||||
}
|
||||
catch (InterruptedException e) {
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Ignoring process exception: ", e);
|
||||
}
|
||||
setExitCode(255);
|
||||
exitCode = 255;
|
||||
}
|
||||
listeners().processTerminated(getExitCode());
|
||||
setExitCode(exitCode);
|
||||
listeners().processTerminated(exitCode);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user