ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/CopyOnWriteArraySetTest.java
(Generate patch)

Comparing jsr166/src/test/tck/CopyOnWriteArraySetTest.java (file contents):
Revision 1.8 by jsr166, Mon Nov 2 20:28:31 2009 UTC vs.
Revision 1.9 by jsr166, Mon Nov 16 04:57:10 2009 UTC

# Line 163 | Line 163 | public class CopyOnWriteArraySetTest ext
163          CopyOnWriteArraySet full = populatedSet(3);
164          Iterator i = full.iterator();
165          int j;
166 <        for(j = 0; i.hasNext(); j++)
166 >        for (j = 0; i.hasNext(); j++)
167              assertEquals(j, ((Integer)i.next()).intValue());
168          assertEquals(3, j);
169      }
# Line 265 | Line 265 | public class CopyOnWriteArraySetTest ext
265              c.add("asdadasd");
266              c.toArray(new Long[5]);
267              shouldThrow();
268 <        } catch(ArrayStoreException e){}
268 >        } catch (ArrayStoreException e){}
269      }
270  
271      /**
# Line 286 | Line 286 | public class CopyOnWriteArraySetTest ext
286              assertEquals(q.size(), r.size());
287              assertTrue(q.equals(r));
288              assertTrue(r.equals(q));
289 <        } catch(Exception e){
289 >        } catch (Exception e){
290              unexpectedException();
291          }
292      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines