Skip to content
Snippets Groups Projects
Commit cf96753c authored by Piotr Gawron's avatar Piotr Gawron
Browse files

interface uses broader class

parent 325b1a46
No related branches found
No related tags found
3 merge requests!716Merge 12.2.0,!715merge 12.2.0,!689Resolve "Overlapping compartments in non-layout SBML upload"
......@@ -151,7 +151,7 @@ public interface Model {
* @param elements
* list of elements
*/
void addElements(List<? extends Element> elements);
void addElements(Collection<? extends Element> elements);
/**
* Sets new short description of the model.
......
......@@ -198,7 +198,7 @@ public class ModelFullIndexed implements Model {
}
@Override
public void addElements(List<? extends Element> elements) {
public void addElements(Collection<? extends Element> elements) {
for (Element element : elements) {
addElement(element);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment