"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "spring-context-support/src/main/java/org/springframework/mail/SimpleMailMessage.java" between
spring-framework-5.3.23.tar.gz and spring-framework-5.3.24.tar.gz

About: Spring Framework is an application framework for the Java platform and .NET Framework. Community edition.

SimpleMailMessage.java  (spring-framework-5.3.23):SimpleMailMessage.java  (spring-framework-5.3.24)
skipping to change at line 94 skipping to change at line 94
this.replyTo = original.getReplyTo(); this.replyTo = original.getReplyTo();
this.to = copyOrNull(original.getTo()); this.to = copyOrNull(original.getTo());
this.cc = copyOrNull(original.getCc()); this.cc = copyOrNull(original.getCc());
this.bcc = copyOrNull(original.getBcc()); this.bcc = copyOrNull(original.getBcc());
this.sentDate = original.getSentDate(); this.sentDate = original.getSentDate();
this.subject = original.getSubject(); this.subject = original.getSubject();
this.text = original.getText(); this.text = original.getText();
} }
@Override @Override
public void setFrom(String from) { public void setFrom(@Nullable String from) {
this.from = from; this.from = from;
} }
@Nullable @Nullable
public String getFrom() { public String getFrom() {
return this.from; return this.from;
} }
@Override @Override
public void setReplyTo(String replyTo) { public void setReplyTo(@Nullable String replyTo) {
this.replyTo = replyTo; this.replyTo = replyTo;
} }
@Nullable @Nullable
public String getReplyTo() { public String getReplyTo() {
return this.replyTo; return this.replyTo;
} }
@Override @Override
public void setTo(String to) { public void setTo(@Nullable String to) {
this.to = new String[] {to}; this.to = new String[] {to};
} }
@Override @Override
public void setTo(String... to) { public void setTo(String... to) {
this.to = to; this.to = to;
} }
@Nullable @Nullable
public String[] getTo() { public String[] getTo() {
return this.to; return this.to;
} }
@Override @Override
public void setCc(String cc) { public void setCc(@Nullable String cc) {
this.cc = new String[] {cc}; this.cc = new String[] {cc};
} }
@Override @Override
public void setCc(String... cc) { public void setCc(@Nullable String... cc) {
this.cc = cc; this.cc = cc;
} }
@Nullable @Nullable
public String[] getCc() { public String[] getCc() {
return this.cc; return this.cc;
} }
@Override @Override
public void setBcc(String bcc) { public void setBcc(@Nullable String bcc) {
this.bcc = new String[] {bcc}; this.bcc = new String[] {bcc};
} }
@Override @Override
public void setBcc(String... bcc) { public void setBcc(@Nullable String... bcc) {
this.bcc = bcc; this.bcc = bcc;
} }
@Nullable @Nullable
public String[] getBcc() { public String[] getBcc() {
return this.bcc; return this.bcc;
} }
@Override @Override
public void setSentDate(Date sentDate) { public void setSentDate(@Nullable Date sentDate) {
this.sentDate = sentDate; this.sentDate = sentDate;
} }
@Nullable @Nullable
public Date getSentDate() { public Date getSentDate() {
return this.sentDate; return this.sentDate;
} }
@Override @Override
public void setSubject(String subject) { public void setSubject(@Nullable String subject) {
this.subject = subject; this.subject = subject;
} }
@Nullable @Nullable
public String getSubject() { public String getSubject() {
return this.subject; return this.subject;
} }
@Override @Override
public void setText(String text) { public void setText(@Nullable String text) {
this.text = text; this.text = text;
} }
@Nullable @Nullable
public String getText() { public String getText() {
return this.text; return this.text;
} }
/** /**
* Copy the contents of this message to the given target message. * Copy the contents of this message to the given target message.
 End of changes. 10 change blocks. 
10 lines changed or deleted 10 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)