You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Would you like "Style" PRs that make some classes final? #6
Hi, there are some classes that look to me like they could be final. Are you interested in getting PR's for adding the final modifier to some of these classes?
As another style note, I see some methods that implement an interface method are not annotated with @Override. Are you interested in PR's that would add @Override to these methods [conceptually this improves support for refactoring such as removing methods from interfaces].
Are either of these something you'd like to get PR's for?
Honestly, it depends… a lot of the structure, classnames, etc are taken directly from the JDK code. I only deviated when it was absolutely necessary in order to limit the scope of changes the JDK team would need to review if they wanted incorporate.
You are more than welcome to do a preview PR so I can review more specifics of where/what you want to fix.
I took a look. I’m ok with PRs like this as long as they do not involve the original source classes from the JDK. For instance, the ChunkedOutputStream comes from there.
Activity
robaho commentedon Dec 3, 2024
Honestly, it depends… a lot of the structure, classnames, etc are taken directly from the JDK code. I only deviated when it was absolutely necessary in order to limit the scope of changes the JDK team would need to review if they wanted incorporate.
You are more than welcome to do a preview PR so I can review more specifics of where/what you want to fix.
rbygrave commentedon Dec 3, 2024
Here is a preview PR / example - #7
robaho commentedon Dec 5, 2024
I took a look. I’m ok with PRs like this as long as they do not involve the original source classes from the JDK. For instance, the ChunkedOutputStream comes from there.
rbygrave commentedon Dec 6, 2024
Ok cool. I'll update that PR and see how we go.