Commit 31a8421c authored by Evan W. Patton's avatar Evan W. Patton Committed by Jeffrey Schiller

Filter extensions out of base SimpleComponentsDatabase

Change-Id: I35e1599b1d5726465559b8f308089d7017e8032c
parent 9becd1a9
......@@ -50,6 +50,9 @@ class ComponentDatabase implements ComponentDatabaseInterface {
components = new HashMap<String, ComponentDefinition>();
List<String> newComponents = new ArrayList<String>();
for (JSONValue component : array.getElements()) {
if (component.asObject().get("external").asString().getString().equals("true")) {
continue;
}
if (initComponent(component.asObject())) {
newComponents.add(component.asObject().get("name").asString().getString());
}
......
Markdown is supported
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