This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 0fc80eedee Fixed: Invalid characters encountered (OFBIZ-13325)
0fc80eedee is described below

commit 0fc80eedee69a6f6e632cece8c498bc655cc5348
Author: Jacques Le Roux <[email protected]>
AuthorDate: Tue Dec 9 09:09:02 2025 +0100

    Fixed: Invalid characters encountered (OFBIZ-13325)
    
    Noticed during code analysis with SonarQube:
    Invalid character encountered in file ConfigXMLReader.java at line 407 for
    encoding UTF-8.
    
    This fixes the file content
    
    Thanks: David Maksimovic for report
---
 .../main/java/org/apache/ofbiz/webapp/control/ConfigXMLReader.java | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git 
a/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ConfigXMLReader.java
 
b/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ConfigXMLReader.java
index 546762f842..ae9f48bc47 100644
--- 
a/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ConfigXMLReader.java
+++ 
b/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ConfigXMLReader.java
@@ -35,8 +35,6 @@ import java.util.Set;
 import java.util.function.Function;
 import java.util.stream.Collectors;
 
-import jakarta.servlet.ServletContext;
-
 import org.apache.ofbiz.base.component.ComponentConfig.WebappInfo;
 import org.apache.ofbiz.base.location.FlexibleLocation;
 import org.apache.ofbiz.base.metrics.Metrics;
@@ -58,6 +56,8 @@ import org.apache.ofbiz.security.CsrfUtil;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 
+import jakarta.servlet.ServletContext;
+
 /**
  * ConfigXMLReader.java - Reads and parses the XML site config files.
  */
@@ -404,7 +404,8 @@ public final class ConfigXMLReader {
         }
 
         /**
-         * XXX: Keep it for backward compatibility until moving everything to 
鈥榞etRequestMapMultiMap鈥�.  @return the request map map
+         * XXX: Keep it for backward compatibility until moving everything to 
getRequestMapMultiMap.
+         *   @return the request map
          */
         public Map<String, RequestMap> getRequestMapMap() {
             return new MultivaluedMapContextAdapter<>(getRequestMapMultiMap());

Reply via email to