Remove redundant value assignments
This commit is contained in:
committed by
Sheepit Renderfarm
parent
1ef0b2f4b7
commit
a0b1151ffa
@@ -125,14 +125,12 @@ import oshi.software.os.OSProcess;
|
|||||||
}
|
}
|
||||||
catch (IllegalThreadStateException e) {
|
catch (IllegalThreadStateException e) {
|
||||||
// the process is not finished yet
|
// the process is not finished yet
|
||||||
value = 0;
|
|
||||||
}
|
}
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
// actually is for java.io.IOException: GetExitCodeProcess error=6, The handle is invalid
|
// actually is for java.io.IOException: GetExitCodeProcess error=6, The handle is invalid
|
||||||
// it was not declared throwable
|
// it was not declared throwable
|
||||||
|
|
||||||
// the process is not finished yet
|
// the process is not finished yet
|
||||||
value = 0;
|
|
||||||
}
|
}
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user