ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/jtreg/util/Collection/IteratorMicroBenchmark.java
(Generate patch)

Comparing jsr166/src/test/jtreg/util/Collection/IteratorMicroBenchmark.java (file contents):
Revision 1.32 by jsr166, Sat Jan 27 20:27:09 2018 UTC vs.
Revision 1.33 by jsr166, Sat Jan 27 20:54:44 2018 UTC

# Line 276 | Line 276 | public class IteratorMicroBenchmark {
276                  new LinkedTransferQueue<>(al),
277                  new PriorityBlockingQueue<>(al))
278              .flatMap(x -> jobs(x))
279 <            .filter(job -> nameFilter.matcher(job.name()).find())
279 >            .filter(job ->
280 >                nameFilter == null || nameFilter.matcher(job.name()).find())
281              .collect(toCollection(ArrayList::new));
282  
283          if (reverse) Collections.reverse(jobs);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines