Skip to content

Commit

Permalink
[FIXED JENKINS-43787] GlobalMavenSettingsConfig.getServerCredentialMa…
Browse files Browse the repository at this point in the history
…ppings() must not return null
  • Loading branch information
imod committed Apr 24, 2017
1 parent 8039abe commit d5169f2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -64,7 +64,7 @@ public GlobalMavenSettingsConfig(String id, String name, String comment, String
}

public List<ServerCredentialMapping> getServerCredentialMappings() {
return serverCredentialMappings;
return serverCredentialMappings == null ? new ArrayList<ServerCredentialMapping>() : serverCredentialMappings;
}

public Boolean getIsReplaceAll() {
Expand Down

0 comments on commit d5169f2

Please sign in to comment.