Author: lektran
Date: Thu Apr 8 23:13:44 2010
New Revision: 932165
URL:
http://svn.apache.org/viewvc?rev=932165&view=revLog:
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);