Commit 419832ee authored by Romain Bioteau's avatar Romain Bioteau
Browse files


Check empty collection instead of null
parent 46f18148
......@@ -19,6 +19,7 @@ import;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Set;
......@@ -168,7 +169,8 @@ public abstract class SourceRepositoryStore<T extends AbstractFileStore> extends
public List<T> getChildren() {
if (getCompatibleExtensions() != null) {
Set<String> compatibleExtensions = getCompatibleExtensions();
if (compatibleExtensions != null && !compatibleExtensions.isEmpty()) {
return super.getChildren();
final List<T> result = new ArrayList<T>();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment