Add inspection "Redundant runCatching {}" (related to KT-25621)

This commit is contained in:
Mikhail Glukhikh
2018-08-23 13:30:04 +03:00
parent 2084e94099
commit 7a2d0a3bb2
13 changed files with 153 additions and 0 deletions
@@ -0,0 +1,6 @@
<html>
<body>
This inspection reports <b>runCatching</b> call that is immediately followed by <b>getOrThrow</b>.
Such a call can be replaced with just <b>run</b> call.
</body>
</html>