git: cleanup - remove deprecated getter usage

This commit is contained in:
Aleksey Pivovarov
2018-07-30 17:56:28 +03:00
parent 62c3169657
commit f2d1a6808a
@@ -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);
}
/**