This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-21229] Possible resource leak in parser
- If an exception occurs before the stream is closed there will be a resource leak since close() won't be called. - Solved using try-finally pattern. - Indentation fixed.
- Loading branch information
Showing 1 changed file with 13 additions and 8 deletions.