You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2011/02/04 23:53:41 UTC
svn commit: r1067319 -
/myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxResponseRenderer.java
Author: bommel
Date: Fri Feb 4 22:53:40 2011
New Revision: 1067319
URL: http://svn.apache.org/viewvc?rev=1067319&view=rev
Log:
improvement
Modified:
myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxResponseRenderer.java
Modified: myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxResponseRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxResponseRenderer.java?rev=1067319&r1=1067318&r2=1067319&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxResponseRenderer.java (original)
+++ myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxResponseRenderer.java Fri Feb 4 22:53:40 2011
@@ -48,6 +48,7 @@ import javax.servlet.http.HttpServletRes
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
+import java.util.Collections;
import java.util.EmptyStackException;
import java.util.Iterator;
import java.util.List;
@@ -153,7 +154,7 @@ public class AjaxResponseRenderer {
private void writeResponseReload(FacesContext facesContext, RenderKit renderKit)
throws IOException {
- writeResponse(facesContext, renderKit, CODE_RELOAD_REQUIRED, new ArrayList<FastStringWriter>(0), "");
+ writeResponse(facesContext, renderKit, CODE_RELOAD_REQUIRED, Collections.EMPTY_LIST, "");
}