no need to check contents contains md because it is a set

This commit is contained in:
jixinchi 2023-11-14 20:19:51 +08:00 committed by Andrew Gaul
parent 311a4102da
commit 9b01dbc983
1 changed files with 1 additions and 3 deletions

View File

@ -364,10 +364,8 @@ public final class LocalBlobStore implements BlobStore {
o = prefix + o; o = prefix + o;
} }
md.setName(o + delimiter); md.setName(o + delimiter);
if (!contents.contains(md)) {
contents.add(md); contents.add(md);
} }
}
return contents; return contents;
} }