mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 20:42:21 +00:00
Merge pull request #4173 from LinuxSuRen/code-format
Format the mess codes
This commit is contained in:
1 file changed
+4
-4
@@ -436,10 +436,10 @@ public class UpdateCenter extends AbstractModelObject implements Saveable, OnMas
|
||||
@Restricted(DoNotUse.class) // WebOnly
|
||||
public HttpResponse doIncompleteInstallStatus() {
|
||||
try {
|
||||
Map<String,String> jobs = InstallUtil.getPersistedInstallStatus();
|
||||
if(jobs == null) {
|
||||
jobs = Collections.emptyMap();
|
||||
}
|
||||
Map<String,String> jobs = InstallUtil.getPersistedInstallStatus();
|
||||
if(jobs == null) {
|
||||
jobs = Collections.emptyMap();
|
||||
}
|
||||
return HttpResponses.okJSON(jobs);
|
||||
} catch (Exception e) {
|
||||
return HttpResponses.errorJSON(String.format("ERROR: %s", e.getMessage()));
|
||||
|
||||
Reference in new issue
Block a user