Commit fe315a5 1 parent e7bfab1 commit fe315a5 Copy full SHA for fe315a5
File tree 2 files changed +5
-2
lines changed
src/main/java/ru/olegcherednik/zip4jvm/io/out/entry
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 26
26
import ru .olegcherednik .zip4jvm .model .builders .LocalFileHeaderBuilder ;
27
27
import ru .olegcherednik .zip4jvm .model .entry .ZipEntry ;
28
28
29
+ import org .apache .commons .codec .digest .PureJavaCrc32 ;
30
+
29
31
import java .io .IOException ;
30
32
import java .io .OutputStream ;
31
33
import java .util .zip .CRC32 ;
@@ -50,7 +52,7 @@ public final class EntryMetadataOutputStream extends OutputStream {
50
52
51
53
private final ZipEntry zipEntry ;
52
54
private final DataOutput out ;
53
- private final Checksum checksum = new CRC32 ();
55
+ private final Checksum checksum = new PureJavaCrc32 ();
54
56
55
57
private long uncompressedSize ;
56
58
Original file line number Diff line number Diff line change 3
3
import ru .olegcherednik .zip4jvm .io .out .entry .encrypted .EncryptedEntryOutputStream ;
4
4
5
5
import lombok .RequiredArgsConstructor ;
6
+ import org .apache .commons .codec .digest .PureJavaCrc32 ;
6
7
7
8
import java .io .IOException ;
8
9
import java .io .OutputStream ;
17
18
public class FooOutputStream extends OutputStream {
18
19
19
20
private final EncryptedEntryOutputStream eos ;
20
- private final Checksum checksum = new CRC32 ();
21
+ private final Checksum checksum = new PureJavaCrc32 ();
21
22
22
23
private long uncompressedSize ;
23
24
You can’t perform that action at this time.
0 commit comments