[cvs] / jsr166 / src / test / tck / ConcurrentSkipListSetTest.java Repository:
ViewVC logotype

Diff of /jsr166/src/test/tck/ConcurrentSkipListSetTest.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.46, Sat Mar 11 18:20:46 2017 UTC revision 1.47, Sat Mar 18 20:42:20 2017 UTC
# Line 202  Line 202 
202          } catch (ClassCastException success) {          } catch (ClassCastException success) {
203              assertTrue(q.size() < 2);              assertTrue(q.size() < 2);
204              for (int i = 0, size = q.size(); i < size; i++)              for (int i = 0, size = q.size(); i < size; i++)
205                  assertTrue(q.pollFirst().getClass() == Object.class);                  assertSame(Object.class, q.pollFirst().getClass());
206              assertNull(q.pollFirst());              assertNull(q.pollFirst());
207              assertTrue(q.isEmpty());              assertTrue(q.isEmpty());
208              assertEquals(0, q.size());              assertEquals(0, q.size());

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8