mirror of https://github.com/apache/jclouds.git
no need to check contents contains md because it is a set
This commit is contained in:
parent
311a4102da
commit
9b01dbc983
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue