import java.util.Collection;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;

public class DWI_Sample
{
	Set<String> avail;

	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;
	            }
	        }
	    }
}

@@ -96,58 +96,187 @@
 til.
-Set;%0A%0Apublic class DWI_Sample%0A%7B%0A%09Set%3CString%3E avail
+List;%0Aimport java.util.Set;%0Aimport java.util.concurrent.CopyOnWriteArrayList;%0A%0Apublic class DWI_Sample%0A%7B%0A%09Set%3CString%3E avail;%0A%09List%3CString%3E cow = new CopyOnWriteArrayList%3CString%3E()
 ;%0A%0A%09
@@ -980,17 +980,17 @@
 %09%09%7D%0A%09%7D%0A%0A
-%09
+ 
    publi
@@ -1032,17 +1032,11 @@
  ss)
-%0A%09   
  %7B%0A
-%09
     
@@ -1062,21 +1062,11 @@
  ss)
-%0A%09       
  %7B%0A
-%09
     
@@ -1096,17 +1096,16 @@
 oo%22)) %7B%0A
-%09
         
@@ -1124,17 +1124,16 @@
 lear();%0A
-%09
         
@@ -1147,17 +1147,16 @@
  break;%0A
-%09
         
@@ -1157,25 +1157,24 @@
           %7D%0A
-%09
         %7D%0A%09 
@@ -1171,17 +1171,183 @@
       %7D%0A
-%09
+    %7D%0A    %0A    public void fpNonCMECollection() %7B%0A        for (String s : cow) %7B%0A            if (s.isEmpty()) %7B%0A                cow.remove(s);%0A            %7D%0A        %7D%0A
     %7D%0A%7D%0A

add fp for DWI