blob: 8f83a2ec6a533c5ae42c0740c99b834b377f259b [file]
<html>
<body>
Reports if trivial lambda expression is used where there's an alternative method which behaves the same way, but
accepts a concrete value instead of a lambda.
<p>
For example, <code>Optional.orElseGet(() -> null)</code> can be replaced with <code>Optional.orElse(null)</code>.
</p>
<!-- tooltip end -->
<p><small>New in 2017.1</small></p>
</body>
</html>