myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r1067319 - /myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxResponseRenderer.java
Date Fri, 04 Feb 2011 22:53:41 GMT
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,
"");
   }
 
 



Mime
View raw message