Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow static imports of Collections and Collectors (#186)
Collectors and Collections are classes that are pleasant to use as static imports. We can avoid boilerplate by allowing their use, and disallowing them is not helpful because the method names aren't likely to be confused with other things. Example usage ```java return foos.stream().flatMap(Collection::stream).collect(toList()); ``` ```java when(foo.doSomething()).thenReturn(emptyMap()); ```
- Loading branch information