[ofbiz-framework] branch trunk updated: Improved: fixes a checkstyle issue

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch trunk updated: Improved: fixes a checkstyle issue

jleroux@apache.org
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 7c5b789  Improved: fixes a checkstyle issue
7c5b789 is described below

commit 7c5b78919e81bbf4052a3605dc1d1a5412b516eb
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Tue May 25 12:14:27 2021 +0200

    Improved: fixes a checkstyle issue
   
    In RequestHandler.java[1394] ':' is not preceded with whitespace.
---
 .../src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java b/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java
index 9ebd1e4..05fa98a 100644
--- a/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java
+++ b/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java
@@ -1391,7 +1391,7 @@ public final class RequestHandler {
         if (url != null && !url.startsWith("/")) {
             newURL.append("/");
         }
-        newURL.append(url == null ? "": url);
+        newURL.append(url == null ? "" : url);
 
         String encodedUrl;
         if (encode) {