blob: 0d695851674fdc82bc54d9f15067ecccb546d36c [file]
<html>
<body>
Reports redundant Comparator combinator constructs which can be simplified. Examples:
<ul>
<li><code>c.thenComparing(Comparator.comparing(function))</code> &rarr; <code>c.thenComparing(function)</code></li>
<li><code>Comparator.comparing(Map.Entry::getKey)</code> &rarr; <code>Map.Entry.comparingByKey()</code></li>
<li><code>stream.min(Collections.reverseOrder(cmp))</code> &rarr; <code>stream.max(cmp)</code></li>
</ul>
<!-- tooltip end -->
<p><small>New in 2018.1</small></p>
</body>
</html>