package org.metaborg.util.arrays;

import java.util.Collection;

public final class Arrays2 {
    public static <T> boolean addAll(Collection<T> addTo, T[] elementsToAdd) {
        boolean modified = false;
        for(T e : elementsToAdd) {
            modified = modified || addTo.add(e);
        }
        return modified;
    }
}

@@ -262,20 +262,8 @@
 d = 
-modified %7C%7C 
 addT
@@ -270,16 +270,28 @@
 o.add(e)
+ %7C%7C modified
 ;%0A      

Fix only one element being added.