-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
By convention in Java methods start with lowercase. They are documented as such in the readme, but wrong in the code (1.0.0).
For instance AddBccshould be addBcc, also many others...
public void AddRecipient(Recipient recipient) {
this.recipients.add(recipient);
}
public void AddRecipients(Recipient[] recipients) {
this.recipients.addAll(Arrays.asList(recipients));
}
public void AddCc(String name, String email) {
Recipient recipient = new Recipient(name, email);
this.cc.add(recipient);
}
public void AddCc(Recipient recipient) {
this.cc.add(recipient);
}
public void AddBcc(String name, String email) {
Recipient recipient = new Recipient(name, email);
this.bcc.add(recipient);
}
public void AddBcc(Recipient recipient) {
this.bcc.add(recipient);
}
public void AddReplyTo(Recipient replyTo) {
this.replyTo = replyTo;
}
public void AddReplyTo(String name, String email) {
this.replyTo = new Recipient(name, email);
}
Metadata
Metadata
Assignees
Labels
No labels