Add inspection "Redundant runCatching {}" (related to KT-25621)
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user