jenkinsci / jenkinsci/cdevents-plugin

Optimizing code to make it more readable and easier to debug

Open
#25 1 comment 0 reactions 1 assignee Claimed by @apurvagandhi View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.