Skip to content

Commit

Permalink
[JENKINS-21045] MavenMailerTest was still using non-data-bound constr…
Browse files Browse the repository at this point in the history
…uctor; safest to keep it for compatibility.
  • Loading branch information
jglick authored and olivergondza committed Dec 31, 2013
1 parent 4cceffb commit ba7d53b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/hudson/maven/reporters/MavenMailer.java
Expand Up @@ -47,6 +47,8 @@ public class MavenMailer extends MavenReporter {
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;
Expand Down

0 comments on commit ba7d53b

Please sign in to comment.