You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2018/12/06 14:09:45 UTC

svn commit: r1848315 - /ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java

Author: jleroux
Date: Thu Dec  6 14:09:45 2018
New Revision: 1848315

URL: http://svn.apache.org/viewvc?rev=1848315&view=rev
Log:
Improved: no functional change, just formatting
Put a couple of brackets to make things clearer

Modified:
    ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java

Modified: ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java?rev=1848315&r1=1848314&r2=1848315&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java (original)
+++ ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java Thu Dec  6 14:09:45 2018
@@ -406,8 +406,9 @@ public class RequestHandler {
 
             // If its the first visit run the first visit events.
             if (this.trackVisit(request) && session.getAttribute("_FIRST_VISIT_EVENTS_") == null) {
-                if (Debug.infoOn())
+                if (Debug.infoOn()) {
                     Debug.logInfo("This is the first request in this visit." + showSessionId(request), module);
+                }
                 session.setAttribute("_FIRST_VISIT_EVENTS_", "complete");
                 for (ConfigXMLReader.Event event: ccfg.getFirstVisitEventList().values()) {
                     try {