# | Line 305 | Line 305 | public class ArrayBlockingQueueTest exte | |
---|---|---|
305 | } | |
306 | q.put(new Integer(SIZE)); | |
307 | threadShouldThrow(); | |
308 | < | } catch (InterruptedException ie) { |
308 | > | } catch (InterruptedException success) { |
309 | threadAssertEquals(added, SIZE); | |
310 | }}}); | |
311 | ||
# | Line 333 | Line 333 | public class ArrayBlockingQueueTest exte | |
333 | q.put(new Object()); | |
334 | ++added; | |
335 | threadShouldThrow(); | |
336 | < | } catch (InterruptedException e) { |
336 | > | } catch (InterruptedException success) { |
337 | threadAssertTrue(added >= 2); | |
338 | } | |
339 | }}); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |