if (!zipEntry.isDirectory()) {
entriesByName.put(zipEntry.getName(), zipEntry);
}
}
for (ZipEntry zipEntry : entriesByName.values()) {
<BUG>visit(zipFile, zipEntry, hasher, classpathContentHasher);

}
return hasher.hash();</BUG>
} catch (IOException e) {

if (!zipEntry.isDirectory()) {
entriesByName.put(zipEntry.getName(), zipEntry);
}
}
for (ZipEntry zipEntry : entriesByName.values()) {
hashZipEntry(zipFile, zipEntry, hasher, classpathContentHasher);
}
return hasher.hash();
} catch (ZipException e) {
DeprecationLogger.nagUserWith("Malformed jar [" + fileDetails.getName() + "] found on classpath. Gradle 5.0 will no longer allow malformed jars on a classpath.");
return hashFile(fileDetails, hasher, classpathContentHasher);
} catch (IOException e) {
