Commit cf96753c authored by Piotr Gawron's avatar Piotr Gawron
Browse files

interface uses broader class

parent 325b1a46
......@@ -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);
}
......
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