Skip to content

Commit

Permalink
Merge pull request #9 from kuisathaverat/JENKINS-30690-NPE
Browse files Browse the repository at this point in the history
NPE in CollapsingSectionsConfiguration.getSectionDefinitions
  • Loading branch information
oleg-nenashev committed Feb 15, 2016
2 parents f7a91db + 8153293 commit 760d34f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -37,7 +37,7 @@ public class CollapsingSectionsConfiguration implements Serializable {
private final boolean numberingEnabled;

public CollapsingSectionsConfiguration(CollapsingSectionNote[] sections, boolean numberingEnabled) {
this.sections = sections;
this.sections = sections != null ? sections : new CollapsingSectionNote[]{} ;
this.numberingEnabled = numberingEnabled;
}

Expand Down

0 comments on commit 760d34f

Please sign in to comment.