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

Comparing jsr166/src/test/tck/JSR166TestCase.java (file contents):
Revision 1.208 by jsr166, Sat Nov 5 16:09:50 2016 UTC vs.
Revision 1.210 by jsr166, Mon Nov 7 01:59:17 2016 UTC

# Line 1828 | Line 1828 | public class JSR166TestCase extends Test
1828          }
1829      }
1830  
1831 <    void assertImmutable(Object o) {
1831 >    void assertImmutable(final Object o) {
1832          if (o instanceof Collection) {
1833              assertThrows(
1834                  UnsupportedOperationException.class,
# Line 1836 | Line 1836 | public class JSR166TestCase extends Test
1836                          ((Collection) o).add(null);}});
1837          }
1838      }
1839 <    
1839 >
1840      @SuppressWarnings("unchecked")
1841      <T> T serialClone(T o) {
1842          try {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines