Permalink
Browse files

Merge pull request #3 from synopsys-arc-oss/bugfix-npe-for-emty-tools…

…list

Fixed bug with NPE in case of empty tools list (JENKINS-18481)
  • Loading branch information...
oleg-nenashev committed Jul 7, 2013
2 parents a27cb1f + 0d79964 commit a4c8d00d821fe6879444c19906552a088c41d29d
@@ -74,7 +74,7 @@ public CustomTool toCustomTool() {

@DataBoundConstructor
public CustomToolInstallWrapper(SelectedTool[] selectedTools) {
this.selectedTools = selectedTools;
this.selectedTools = (selectedTools != null) ? selectedTools : new SelectedTool[0];
}

@Override

0 comments on commit a4c8d00

Please sign in to comment.