Skip to content

Commit 45b668a

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

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
@@ -117,7 +117,7 @@ public InputStream getContents() throws IOException {
117117
@Override
118118
public long getLastModified() {
119119
final long l = zipEntry.getTime();
120-
return l == 0 || l == -1 ? PlexusIoResource.UNKNOWN_MODIFICATION_DATE : l;
120+
return l <= 0 ? PlexusIoResource.UNKNOWN_MODIFICATION_DATE : l;
121121
}
122122

123123
@Override

0 commit comments

Comments
 (0)