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

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


The following commit(s) were added to refs/heads/release18.12 by this push:
     new c78ad8cc04 Fixed checkstyle error
c78ad8cc04 is described below

commit c78ad8cc04cb3ff10fec56ba8b0bea3a2292ef9f
Author: Deepak Dixit <dee...@apache.org>
AuthorDate: Fri Aug 30 00:35:03 2024 +0530

    Fixed checkstyle error
---
 .../src/main/java/org/apache/ofbiz/widget/model/ScreenFactory.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/framework/widget/src/main/java/org/apache/ofbiz/widget/model/ScreenFactory.java
 
b/framework/widget/src/main/java/org/apache/ofbiz/widget/model/ScreenFactory.java
index 51a047767a..a5789177ab 100644
--- 
a/framework/widget/src/main/java/org/apache/ofbiz/widget/model/ScreenFactory.java
+++ 
b/framework/widget/src/main/java/org/apache/ofbiz/widget/model/ScreenFactory.java
@@ -115,7 +115,7 @@ public class ScreenFactory {
                     long startTime = System.currentTimeMillis();
                     URL screenFileUrl = null;
                     screenFileUrl = 
FlexibleLocation.resolveLocation(resourceName);
-                    if (screenFileUrl == null ||  
UtilValidate.urlInString(screenFileUrl.toString())) {
+                    if (screenFileUrl == null || 
UtilValidate.urlInString(screenFileUrl.toString())) {
                         throw new IllegalArgumentException("Could not resolve 
location to URL: " + resourceName);
                     }
                     Document screenFileDoc = 
UtilXml.readXmlDocument(screenFileUrl, true, true);

Reply via email to