Include the META-INF files in the digest.
We used to ignore them for some reason but I think that whatever benefits that yielded have long been overshadowed by detriments.
This commit is contained in:
@@ -232,13 +232,6 @@ public class Resource
|
|||||||
|
|
||||||
int eidx = 0;
|
int eidx = 0;
|
||||||
for (JarEntry entry : entries) {
|
for (JarEntry entry : entries) {
|
||||||
// skip metadata; we just want the goods
|
|
||||||
if (entry.getName().startsWith("META-INF")) {
|
|
||||||
updateProgress(obs, eidx, entries.size());
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
// add this file's data to the MD5 hash
|
|
||||||
InputStream in = null;
|
InputStream in = null;
|
||||||
try {
|
try {
|
||||||
in = jar.getInputStream(entry);
|
in = jar.getInputStream(entry);
|
||||||
|
|||||||
Reference in New Issue
Block a user