polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niclas Hedhman <nic...@hedhman.org>
Subject Stream creation...
Date Fri, 04 Sep 2015 11:56:16 GMT
Kent,
while reviewing, I saw

    Arrays.asList( type ).stream()

This can more efficiently be written as

    Stream.of( type )

Cheers
-- 
Niclas Hedhman, Software Developer
http://zest.apache.org - New Energy for Java

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message