forked from External/mage
program towards Interface rather than implementations
This commit is contained in:
parent
b04c436801
commit
ae7919cd07
100 changed files with 218 additions and 209 deletions
|
|
@ -451,9 +451,7 @@ public abstract class TargetImpl implements Target {
|
|||
|
||||
@Override
|
||||
public List<UUID> getTargets() {
|
||||
ArrayList<UUID> newList = new ArrayList<>();
|
||||
newList.addAll(targets.keySet());
|
||||
return newList;
|
||||
return new ArrayList<>(targets.keySet());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue