[JENKINS-32820] Fix the last merge issues

This commit is contained in:
Oleg Nenashev committed 2017-02-12 14:33:03 +03:00
1 parent 579a88d6e7
commit 08a993d7bc
3 files changed
+3 -3

No files matched your search

@@ -40,7 +40,7 @@ public class SolarisSMFLifecycle extends Lifecycle {
*/
@Override
public void restart() throws IOException, InterruptedException {
Jenkins h = Jenkins.getInstanceOrNull(); // guard against repeated concurrent calls to restart
Jenkins jenkins = Jenkins.getInstanceOrNull(); // guard against repeated concurrent calls to restart
try {
if (jenkins != null) {
jenkins.cleanUp();
@@ -67,7 +67,7 @@ public class UnixLifecycle extends Lifecycle {
@Override
public void restart() throws IOException, InterruptedException {
Jenkins h = Jenkins.getInstanceOrNull(); // guard against repeated concurrent calls to restart
Jenkins jenkins = Jenkins.getInstanceOrNull(); // guard against repeated concurrent calls to restart
try {
if (jenkins != null) {
jenkins.cleanUp();
@@ -117,7 +117,7 @@ public class WindowsServiceLifecycle extends Lifecycle {
@Override
public void restart() throws IOException, InterruptedException {
Jenkins jenkins = Jenkins.getInstance();
Jenkins jenkins = Jenkins.getInstanceOrNull();
try {
if (jenkins != null) {
jenkins.cleanUp();