Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Devrim Gunyel
core
Commits
cf96753c
Commit
cf96753c
authored
Mar 07, 2019
by
Piotr Gawron
Browse files
interface uses broader class
parent
325b1a46
Changes
2
Hide whitespace changes
Inline
Side-by-side
model/src/main/java/lcsb/mapviewer/model/map/model/Model.java
View file @
cf96753c
...
...
@@ -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.
...
...
model/src/main/java/lcsb/mapviewer/model/map/model/ModelFullIndexed.java
View file @
cf96753c
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment