jenkinsci / jenkinsci/cdevents-plugin
Optimizing code to make it more readable and easier to debug
Open
developer
good first issue
- Dominant language
- Java
- Stars
- 6
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
Improving efficiency by reducing the scope of the try-catch block. Currently, the block encompasses the assignment of exec, but the only method call that actually throws the IOException is getExecutable(). By reducing the scope of the try-catch block, we make the code more readable and easier to debug, as it's clear which method call might throw the exception.
Contributor guide
Assessment
This issue has not been assessed yet.