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

Comparing jsr166/src/test/tck/ConcurrentSkipListSubSetTest.java (file contents):
Revision 1.35 by jsr166, Sun Oct 16 20:44:18 2016 UTC vs.
Revision 1.36 by jsr166, Sat Mar 11 18:20:46 2017 UTC

# Line 32 | Line 32 | public class ConcurrentSkipListSubSetTes
32       * Returns a new set of given size containing consecutive
33       * Integers 0 ... n - 1.
34       */
35 <    private NavigableSet<Integer> populatedSet(int n) {
35 >    private static NavigableSet<Integer> populatedSet(int n) {
36          ConcurrentSkipListSet<Integer> q =
37              new ConcurrentSkipListSet<Integer>();
38          assertTrue(q.isEmpty());
# Line 52 | Line 52 | public class ConcurrentSkipListSubSetTes
52      /**
53       * Returns a new set of first 5 ints.
54       */
55 <    private NavigableSet set5() {
55 >    private static NavigableSet set5() {
56          ConcurrentSkipListSet q = new ConcurrentSkipListSet();
57          assertTrue(q.isEmpty());
58          q.add(one);
# Line 70 | Line 70 | public class ConcurrentSkipListSubSetTes
70      /**
71       * Returns a new set of first 5 negative ints.
72       */
73 <    private NavigableSet dset5() {
73 >    private static NavigableSet dset5() {
74          ConcurrentSkipListSet q = new ConcurrentSkipListSet();
75          assertTrue(q.isEmpty());
76          q.add(m1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines