struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nil...@apache.org
Subject svn commit: r722161 - /struts/sandbox/trunk/struts2-portlet2-plugin/src/main/java/org/apache/struts2/portlet/result/PortletActionRedirectResult.java
Date Mon, 01 Dec 2008 18:32:05 GMT
Author: nilsga
Date: Mon Dec  1 10:32:05 2008
New Revision: 722161

URL: http://svn.apache.org/viewvc?rev=722161&view=rev
Log:
Updated to use StringBuilder

Modified:
    struts/sandbox/trunk/struts2-portlet2-plugin/src/main/java/org/apache/struts2/portlet/result/PortletActionRedirectResult.java

Modified: struts/sandbox/trunk/struts2-portlet2-plugin/src/main/java/org/apache/struts2/portlet/result/PortletActionRedirectResult.java
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-portlet2-plugin/src/main/java/org/apache/struts2/portlet/result/PortletActionRedirectResult.java?rev=722161&r1=722160&r2=722161&view=diff
==============================================================================
--- struts/sandbox/trunk/struts2-portlet2-plugin/src/main/java/org/apache/struts2/portlet/result/PortletActionRedirectResult.java
(original)
+++ struts/sandbox/trunk/struts2-portlet2-plugin/src/main/java/org/apache/struts2/portlet/result/PortletActionRedirectResult.java
Mon Dec  1 10:32:05 2008
@@ -204,7 +204,7 @@
 			}
 		}
 
-		StringBuffer tmpLocation = new StringBuffer(actionMapper.getUriFromActionMapping(new ActionMapping(actionName,
+		StringBuilder tmpLocation = new StringBuilder(actionMapper.getUriFromActionMapping(new
ActionMapping(actionName,
 				(portletNamespace == null ? namespace : portletNamespace + namespace), method, null)));
 		UrlHelper.buildParametersString(requestParameters, tmpLocation, "&");
 



Mime
View raw message