--- jsr166/src/test/tck/LinkedBlockingQueueTest.java 2014/12/31 19:21:20 1.55 +++ jsr166/src/test/tck/LinkedBlockingQueueTest.java 2014/12/31 20:17:39 1.56 @@ -247,9 +247,9 @@ public class LinkedBlockingQueueTest ext public void testPut() throws InterruptedException { LinkedBlockingQueue q = new LinkedBlockingQueue(SIZE); for (int i = 0; i < SIZE; ++i) { - Integer I = new Integer(i); - q.put(I); - assertTrue(q.contains(I)); + Integer x = new Integer(i); + q.put(x); + assertTrue(q.contains(x)); } assertEquals(0, q.remainingCapacity()); } @@ -589,8 +589,8 @@ public class LinkedBlockingQueueTest ext assertTrue(q.removeAll(p)); assertEquals(SIZE-i, q.size()); for (int j = 0; j < i; ++j) { - Integer I = (Integer)(p.remove()); - assertFalse(q.contains(I)); + Integer x = (Integer)(p.remove()); + assertFalse(q.contains(x)); } } }