Title: Updated readInt method so streams are closed on failure or success by srnkan · Pull Request #1476 · processing/processing4 · GitHub
Open Graph Title: Updated readInt method so streams are closed on failure or success by srnkan · Pull Request #1476 · processing/processing4
X Title: Updated readInt method so streams are closed on failure or success by srnkan · Pull Request #1476 · processing/processing4
Description: ✅ Title: clear and descriptive ✅ Resolves: Resolves #1416 ✅ Changes: I adapted the preexisting readInt method to include a try-with-resources, which closes all "closeables" regardless if the code errors or runs smoothly. This stops memory leakage by always closing necessary streams. ✅ Tests: Tests pass the "./gradlew test" and I did not add any additional tests ✅ Checklist: Tests pass the "./gradlew test" tests and branch is up-to-date
Open Graph Description: ✅ Title: clear and descriptive ✅ Resolves: Resolves #1416 ✅ Changes: I adapted the preexisting readInt method to include a try-with-resources, which closes all "closeables" regardless if ...
X Description: ✅ Title: clear and descriptive ✅ Resolves: Resolves #1416 ✅ Changes: I adapted the preexisting readInt method to include a try-with-resources, which closes all "closeables" regard...
Opengraph URL: https://github.com/processing/processing4/pull/1476
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:53833e3d-e4cd-c8ec-3e4e-316b0abcec2b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C6A8:A60E5:9CC5D4:D59B00:6A611CF8 |
| html-safe-nonce | e629e5f2084e7a870c51c2a01d561ab61dabfa3f9e76c12d9b9c5c6f9112d23b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNkE4OkE2MEU1OjlDQzVENDpENTlCMDA6NkE2MTFDRjgiLCJ2aXNpdG9yX2lkIjoiNjc2OTA4MTYwNjYyMjc0Nzg5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6a521336ecb03849ce705f789d45923a8ad203c1330125d9271792a2e031d824 |
| hovercard-subject-tag | pull_request:3381426309 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/processing/processing4/pull/1476/files |
| twitter:image | https://avatars.githubusercontent.com/u/156712255?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/156712255?s=400&v=4 |
| og:image:alt | ✅ Title: clear and descriptive ✅ Resolves: Resolves #1416 ✅ Changes: I adapted the preexisting readInt method to include a try-with-resources, which closes all "closeables" regardless if ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5d23cf1c0cd2fa53870b9a743b3e1bc3ff0d0b0b3a477b50251e1c9dd8ecb93d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/processing/processing4 git https://github.com/processing/processing4.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 844382769 |
| octolytics-dimension-repository_nwo | processing/processing4 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 844382769 |
| octolytics-dimension-repository_network_root_nwo | processing/processing4 |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | abf5a2f79ab9b533c5865f5281057f7d17cf18f3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width