From 468d8e6ee5ac6690857b4d4e9c7dba30ecd2a4f4 Mon Sep 17 00:00:00 2001 From: Benedikt Meier Date: Thu, 7 Nov 2024 09:59:18 +0100 Subject: [PATCH] fig bug string --- src/main/java/edu/harvard/iq/dataverse/MailServiceBean.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/edu/harvard/iq/dataverse/MailServiceBean.java b/src/main/java/edu/harvard/iq/dataverse/MailServiceBean.java index a16d2b08b1c..3cce60ea11f 100644 --- a/src/main/java/edu/harvard/iq/dataverse/MailServiceBean.java +++ b/src/main/java/edu/harvard/iq/dataverse/MailServiceBean.java @@ -257,7 +257,7 @@ public void setContactDelegation(String reply, InternetAddress fromAddress) fromAddress.setPersonal( BundleUtil.getStringFromBundle( "contact.delegation", - Arrays.asList(personal, reply.replace('@', '[a]'))), + Arrays.asList(personal, reply.replace("@", "[a]"))), charset ); }