Skip to content
This repository was archived by the owner on Oct 6, 2023. It is now read-only.

Commit af9b5ea

Browse files
author
sowerstl
committed
Remove string concatenation inside String Builder append.
1 parent 3413b96 commit af9b5ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/gov/osti/services/Metadata.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2424,7 +2424,7 @@ private static void sendApprovalNotification(DOECodeMetadata md) {
24242424
.append("/faq\">DOE CODE FAQs</a>.</P>");
24252425
msg.append("<P>If we can be of assistance, please do not hesitate to <a href=\"mailto:[email protected]\">Contact Us</a>.</P>");
24262426
msg.append("<P>Sincerely,</P>");
2427-
msg.append("<P>"+PM_NAME+"<BR/>Product Manager for DOE CODE<BR/>USDOE/OSTI</P>");
2427+
msg.append("<P>").append(PM_NAME).append("<BR/>Product Manager for DOE CODE<BR/>USDOE/OSTI</P>");
24282428

24292429
msg.append("</html>");
24302430

@@ -2526,7 +2526,7 @@ private static void sendPOCNotification(DOECodeMetadata md) {
25262526

25272527
msg.append("<p>If you have any questions, please do not hesitate to <a href=\"mailto:[email protected]\">Contact Us</a>.</p>");
25282528
msg.append("<p>Sincerely,</p>");
2529-
msg.append("<p>"+PM_NAME+"<br/>Product Manager for DOE CODE<br/>USDOE/OSTI</p>");
2529+
msg.append("<p>").append(PM_NAME).append("<br/>Product Manager for DOE CODE<br/>USDOE/OSTI</p>");
25302530

25312531
msg.append("</html>");
25322532

0 commit comments

Comments
 (0)