Commit fc97081
authored
Fix compression
After extensive testing it was determined that under all circumstances
Deflater def = new Deflater();
def.setLevel(Deflater.BEST_SPEED);
results in no compression. The input data does not matter, nor does the level being set, providing it is different to the existing level. However,
Deflater def = new Deflater(Deflater.BEST_SPEED);
always works with no issues. Updated the code to reflect this.1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2210 | 2210 | | |
2211 | 2211 | | |
2212 | 2212 | | |
2213 | | - | |
| 2213 | + | |
2214 | 2214 | | |
2215 | | - | |
2216 | 2215 | | |
2217 | 2216 | | |
2218 | 2217 | | |
| |||
0 commit comments