Author: julien(a)jboss.com
Date: 2008-02-09 07:08:11 -0500 (Sat, 09 Feb 2008)
New Revision: 9887
Modified:
modules/common/trunk/common/src/main/java/org/jboss/portal/common/io/SerializationFilter.java
Log:
use gzip output stream finish instead of flush
Modified:
modules/common/trunk/common/src/main/java/org/jboss/portal/common/io/SerializationFilter.java
===================================================================
---
modules/common/trunk/common/src/main/java/org/jboss/portal/common/io/SerializationFilter.java 2008-02-09
12:00:40 UTC (rev 9886)
+++
modules/common/trunk/common/src/main/java/org/jboss/portal/common/io/SerializationFilter.java 2008-02-09
12:08:11 UTC (rev 9887)
@@ -59,6 +59,7 @@
{
GZIPOutputStream zos = new GZIPOutputStream(out);
serialization.serialize(t, zos);
+ zos.finish();
}
public <T> T unserialize(Serialization<T> serialization, InputStream
in) throws IllegalArgumentException, IOException