On 14/04/2012 20:39, Ulf Zibis wrote:
Deflater dates back to JDK1.0 and uses an int for the flush mode, level and strategy. Clearly if we were defining Deflater as a new API now then an enum would the top choice but I think it would be a bit inconsistent to introduce it now.:Can't we use an Enum for variable flush ?
-Alan.