Skip to content

Comments

add try-with-resources around json parsing in controllers#19

Merged
countableSet merged 2 commits intomasterfrom
close-reader
Jul 28, 2025
Merged

add try-with-resources around json parsing in controllers#19
countableSet merged 2 commits intomasterfrom
close-reader

Conversation

@countableSet
Copy link

  • add a try-with-resources around InputStreamReader reader = new InputStreamReader(request.getInputStream(), StandardCharsets.UTF_8) since the json parser doesn't close the reader
  • bump gradle to latest
  • use new shadrow plugin

cc @github/data-pipelines
cc https://github.com/github/pipeline-monitor/security/code-scanning/827

@countableSet countableSet requested review from a team and Copilot July 28, 2025 19:24

This comment was marked as spam.

@countableSet countableSet merged commit b64feb4 into master Jul 28, 2025
1 check passed
@countableSet countableSet deleted the close-reader branch July 28, 2025 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants