Skip to content

Commit

Permalink
JENKINS-30690: NPE in CollapsingSectionsConfiguration.getSectionDefin…
Browse files Browse the repository at this point in the history
…itions
  • Loading branch information
kuisathaverat committed Feb 15, 2016
1 parent f7a91db commit 8153293
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 8153293

Please sign in to comment.