ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/jtreg/util/AbstractList/FailFastIterator.java
(Generate patch)

Comparing jsr166/src/test/jtreg/util/AbstractList/FailFastIterator.java (file contents):
Revision 1.1 by jsr166, Tue Sep 1 01:22:56 2009 UTC vs.
Revision 1.2 by jsr166, Wed Sep 1 20:12:39 2010 UTC

# Line 44 | Line 44 | public class FailFastIterator {
44              copy.add(new Integer(99));
45              i.remove();
46              throw new Exception("remove: iterator didn't fail fast");
47 <        } catch(ConcurrentModificationException e) {
47 >        } catch (ConcurrentModificationException e) {
48          }
49          if (!copy.equals(orig))
50              throw new Exception("remove: iterator didn't fail fast enough");
# Line 56 | Line 56 | public class FailFastIterator {
56              copy.add(new Integer(99));
57              i.set(new Integer(666));
58              throw new Exception("set: iterator didn't fail fast");
59 <        } catch(ConcurrentModificationException e) {
59 >        } catch (ConcurrentModificationException e) {
60          }
61          if (!copy.equals(orig))
62              throw new Exception("set: iterator didn't fail fast enough");
# Line 67 | Line 67 | public class FailFastIterator {
67              copy.add(new Integer(99));
68              i.add(new Integer(666));
69              throw new Exception("add: iterator didn't fail fast");
70 <        } catch(ConcurrentModificationException e) {
70 >        } catch (ConcurrentModificationException e) {
71          }
72          if (!copy.equals(orig))
73              throw new Exception("add: iterator didn't fail fast enough");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines