svn commit: r932165 - /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java

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

svn commit: r932165 - /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java

lektran
Author: lektran
Date: Thu Apr  8 23:13:44 2010
New Revision: 932165

URL: http://svn.apache.org/viewvc?rev=932165&view=rev
Log:
Removed an unnecessary null check

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

Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java?rev=932165&r1=932164&r2=932165&view=diff
==============================================================================
--- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java (original)
+++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java Thu Apr  8 23:13:44 2010
@@ -518,7 +518,7 @@ public class RequestHandler {
         if (nextRequestResponse.saveCurrentView) { saveName = "SAVED"; }
         if (nextRequestResponse.saveHomeView) { saveName = "HOME"; }
 
-        if (nextRequestResponse != null && "request".equals(nextRequestResponse.type)) {
+        if ("request".equals(nextRequestResponse.type)) {
             // chained request
             Debug.logInfo("[RequestHandler.doRequest]: Response is a chained request." + " sessionId=" + UtilHttp.getSessionId(request), module);
             doRequest(request, response, nextRequestResponse.value, userLogin, delegator);