Skip to content

Commit cce0fd9

Browse files
slachiewiczgnodet
andauthored
Update src/main/java/org/codehaus/plexus/archiver/zip/AbstractZipUnArchiver.java
Co-authored-by: Guillaume Nodet <[email protected]>
1 parent 45b668a commit cce0fd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/codehaus/plexus/archiver/zip/AbstractZipUnArchiver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ protected void execute(final String path, final File outputDirectory) throws Arc
175175
.setMaxCount(remainingSpace + 1)
176176
.get();
177177
long time = ze.getTime();
178-
if (time == -1 || time == 0) {
178+
if (time <= 0) {
179179
time = PlexusIoResource.UNKNOWN_MODIFICATION_DATE;
180180
}
181181
extractFile(

0 commit comments

Comments
 (0)