GZIPOutputStream gout = new GZIPOutputStream(bout);
gout.write(in);
gout.flush();
gout.close();
if (logger.isLoggable(Level.FINE)) {
logger.log(Level.FINE, "gzipping took {0} msec",
(System.currentTimeMillis() - tstart));
}
return bout.toByteArray();
}
return new byte[0];