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

Comparing jsr166/src/test/tck/ConcurrentLinkedDequeTest.java (file contents):
Revision 1.34 by jsr166, Tue Aug 13 00:54:51 2019 UTC vs.
Revision 1.35 by jsr166, Wed Aug 14 23:06:11 2019 UTC

# Line 976 | Line 976 | public class ConcurrentLinkedDequeTest e
976          }
977      }
978  
979    <T> T chooseRandomly(T... choices) {
980        return choices[ThreadLocalRandom.current().nextInt(choices.length)];
981    }
982
979      /**
980       * Non-traversing Deque operations (that return null) are linearizable.
981       * Don't return null when the deque is observably never empty.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines