replace lambda with method reference while streaming managers
@@ -545,7 +545,7 @@ public class WikiEngine implements Engine {
public < T > List< T > getManagers( final Class< T > manager ) {
return ( List< T > )managers.entrySet().stream()
.filter( e -> manager.isAssignableFrom( e.getKey() ) )
- .map( e -> e.getValue() )
+ .map( Map.Entry::getValue )
.collect( Collectors.toList() );
}
