Title: WritingBuffer is confusing · Issue #18 · hjson/hjson-java · GitHub
Open Graph Title: WritingBuffer is confusing · Issue #18 · hjson/hjson-java
X Title: WritingBuffer is confusing · Issue #18 · hjson/hjson-java
Description: Can someone please explain this: "A lightweight writing buffer to reduce the amount of write operations to be performed on the underlying writer. This implementation is not thread-safe. It deliberately deviates from the contract of the W...
Open Graph Description: Can someone please explain this: "A lightweight writing buffer to reduce the amount of write operations to be performed on the underlying writer. This implementation is not thread-safe. It delibera...
X Description: Can someone please explain this: "A lightweight writing buffer to reduce the amount of write operations to be performed on the underlying writer. This implementation is not thread-safe. It del...
Opengraph URL: https://github.com/hjson/hjson-java/issues/18
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"WritingBuffer is confusing","articleBody":"Can someone please explain this:\r\n\r\n\"A lightweight writing buffer to reduce the amount of write operations to be performed on the underlying writer. This implementation is not thread-safe. It deliberately deviates from the contract of the Writer. In particular, it does not flush or close the wrapped writer nor does it ensure that the wrapped writer is open.\"\r\n\r\nAlso, why is a BufferedWriter not being used?\r\n\r\nIt's very concerning to see a writer have an empty close() method as this can lead to some very serious memory leaks. This implementation violates a lot of basic things in Java. I would like to help improve this but I don't currently know how since none of the code is documented and the code is not very readable.","author":{"url":"https://github.com/jlgager24","@type":"Person","name":"jlgager24"},"datePublished":"2020-09-29T00:50:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/18/hjson-java/issues/18"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1716365f-ad39-3177-2c3c-a95e0f21deb9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CDA4:3364F5:8428AB2:B16C580:698CED8E |
| html-safe-nonce | e3b4e017c7ced218236d12945fdd7ddb5103c1385e0041c7af82b775a7c4671f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREE0OjMzNjRGNTo4NDI4QUIyOkIxNkM1ODA6Njk4Q0VEOEUiLCJ2aXNpdG9yX2lkIjoiODE4NTY0MjIwOTczMjUyMTM1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 95c21d339ad29035d8595bf11c5f2fe0d1e79561b28260b7a8e761fb70daab1b |
| hovercard-subject-tag | issue:710668431 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/hjson/hjson-java/18/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8ba70cd28ded96948cd508047586a3fc2b9a6565a701c9a1a0c459d94702e2f9/hjson/hjson-java/issues/18 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8ba70cd28ded96948cd508047586a3fc2b9a6565a701c9a1a0c459d94702e2f9/hjson/hjson-java/issues/18 |
| og:image:alt | Can someone please explain this: "A lightweight writing buffer to reduce the amount of write operations to be performed on the underlying writer. This implementation is not thread-safe. It delibera... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jlgager24 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4 |
| turbo-cache-control | no-preview |
| go-import | github.com/hjson/hjson-java git https://github.com/hjson/hjson-java.git |
| octolytics-dimension-user_id | 20934397 |
| octolytics-dimension-user_login | hjson |
| octolytics-dimension-repository_id | 33950516 |
| octolytics-dimension-repository_nwo | hjson/hjson-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 33950516 |
| octolytics-dimension-repository_network_root_nwo | hjson/hjson-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3d444f0a47beeeac94cddbb51c91ab408befe8d4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width