Skip to content
Permalink
Browse files

[JENKINS-21045] MavenMailerTest was still using non-data-bound constr…

…uctor; safest to keep it for compatibility.
  • Loading branch information...
jglick authored and olivergondza committed Dec 17, 2013
1 parent 4cceffb commit ba7d53bfb7c14a6c3ee36db1a778646838d914bb
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/main/java/hudson/maven/reporters/MavenMailer.java
@@ -47,6 +47,8 @@
public boolean sendToIndividuals;
public boolean perModuleEmail;

@Deprecated public MavenMailer() {}

@DataBoundConstructor public MavenMailer(String recipients, boolean notifyEveryUnstableBuild, boolean sendToIndividuals, boolean perModuleEmail) {
this.recipients = recipients;
this.dontNotifyEveryUnstableBuild = !notifyEveryUnstableBuild;

0 comments on commit ba7d53b

Please sign in to comment.
You can’t perform that action at this time.