Skip to content

Empty Zip File is Written #3

Description

@FlailingElbows

When using the constructor:

ZipParameters zp = new ZipParameters(false, (percent, currentFile) -> { System.out.println(String.format("%f, done %s.", percent, currentFile)); });

and then calling

TinyZip.zip(zipDestPath, zp, srcFilePath);

The resulting zip file is empty. But if I use the constructor that only takes a BiConsumer, e.x:

ZipParameters zp = new ZipParameters((percent, currentFile) -> { System.out.println(String.format("%f, done %s.", percent, currentFile)); });

That works just fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions