In what case it can be happen(cnt < buildRefs.size())?

And maybe better use some formatting for stream, because one line stream is too 
hard to read.
```
buildRefs.stream()
            .skip(cnt < buildRefs.size() ? buildRefs.size() - cnt : 0)
            .collect(Collectors.toList());
```
?

[ Full content available at: 
https://github.com/apache/ignite-teamcity-bot/pull/3 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to