Skip to content
Snippets Groups Projects
Commit a3f99e25 authored by Wei Liu's avatar Wei Liu
Browse files

remove unnecessary check.

parent 837259c1
No related branches found
No related tags found
No related merge requests found
......@@ -83,9 +83,7 @@ public class CollectionPath {
}
public synchronized CollectionDetails createIfNotExist(MFSession session, boolean createParents) throws Throwable {
if (_exists == null) {
resolveCollectionDetails(session);
}
resolveCollectionDetails(session);
if (!_exists) {
CollectionType type = CollectionType.collectionTypeFor(_path, session);
if (type == CollectionType.asset) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment