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

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

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

revision 1.45, Sat Mar 11 17:33:32 2017 UTC revision 1.46, Sat Mar 11 18:20:47 2017 UTC
# Line 42  Line 42 
42       * Returns a new queue of given size containing consecutive       * Returns a new queue of given size containing consecutive
43       * Integers 0 ... n - 1.       * Integers 0 ... n - 1.
44       */       */
45      private LinkedList<Integer> populatedQueue(int n) {      private static LinkedList<Integer> populatedQueue(int n) {
46          LinkedList<Integer> q = new LinkedList<>();          LinkedList<Integer> q = new LinkedList<>();
47          assertTrue(q.isEmpty());          assertTrue(q.isEmpty());
48          for (int i = 0; i < n; ++i)          for (int i = 0; i < n; ++i)

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

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8