import java.util.Collection;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import java.util.concurrent.CopyOnWriteArrayList;

public class DWI_Sample {
    Set<String> avail;
    List<String> cow = new CopyOnWriteArrayList<String>();

    public void deleteOdds(Set<Integer> bagOInts) {
        Iterator<Integer> it = bagOInts.iterator();
        while (it.hasNext()) {
            Integer i = it.next();
            if ((i.intValue() & 0x01) == 1)
                bagOInts.remove(i);
        }
    }

    public void addIf(Set<String> s, Collection<String> c) {
        for (String ss : s) {
            if (ss.equals("addem"))
                s.addAll(c);
        }
    }

    public void fpUnaliased() {
        Iterator<String> it = avail.iterator();
        avail = new HashSet<String>();

        while (it.hasNext()) {
            avail.add(it.next() + "booya");
        }
    }

    public void fpWithBreak(Set<String> ss) {
        for (String s : ss) {
            if (s.equals("foo")) {
                ss.remove("foo");
                break;
            }
        }
    }

    public void fpClearWithBreak(Set<String> ss) {
        for (String s : ss) {
            if (s.equals("foo")) {
                ss.clear();
                break;
            }
        }
    }

    public void fpNonCMECollection() {
        for (String s : cow) {
            if (s.isEmpty()) {
                cow.remove(s);
            }
        }
    }
}

@@ -493,17 +493,19 @@
 1) == 1)
+ %7B
 %0A
-
         
@@ -532,16 +532,30 @@
 ove(i);%0A
+            %7D%0A
         
@@ -689,16 +689,18 @@
 addem%22))
+ %7B
 %0A       
@@ -721,16 +721,30 @@
 All(c);%0A
+            %7D%0A
         
@@ -1336,32 +1336,32 @@
 ;%0A            %7D%0A
-
         %7D%0A    %7D%0A
@@ -1353,32 +1353,478 @@
        %7D%0A    %7D%0A%0A
+    public void fpRemoveWithReturn(Set%3CString%3E ss) %7B%0A        for (String s : ss) %7B%0A            if (s.equals(%22foo%22)) %7B%0A                ss.remove(%22foo%22);%0A                return;%0A            %7D%0A        %7D%0A    %7D%0A%0A    public boolean fpRemoveWithReturn2(Set%3CString%3E ss) %7B%0A        for (String s : ss) %7B%0A            if (s.equals(%22foo%22)) %7B%0A                ss.remove(%22foo%22);%0A                return true;%0A            %7D%0A        %7D%0A%0A        return false;%0A    %7D%0A%0A
     public void 

add two DWI fps