plexus-archiver icon indicating copy to clipboard operation
plexus-archiver copied to clipboard

Check for negative millisecond offset

Open rovarga opened this issue 4 years ago • 0 comments

File.setLastModified() does not allow negative values, but those can be present in Date. One such source is ZipEntry.getTime(), which returns -1 to indicate a non-applicable time. Fixes #170.

Signed-off-by: Robert Varga [email protected]

rovarga avatar Apr 22 '21 23:04 rovarga