-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#1004] clean up compiler warnings #1030
Conversation
…ntation with SimpleHash, update deprecated method newInstance
I am still new to GitHub PRs. Most of my experience is with BitBucket. How do I assign a milestone, and how do I know which milestone to use? |
That’s for committers. Don’t worry about that |
@lprimak |
Not yet :) You will be a Contributor. |
import org.apache.commons.configuration2.interpol.ConstantLookup; | ||
import org.apache.commons.configuration2.interpol.EnvironmentLookup; | ||
import org.apache.commons.configuration2.interpol.SystemPropertiesLookup; | ||
import org.apache.commons.configuration2.interpol.*; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't use star imports. Those are usually considered bad form. Individual imports are great.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pointing that out! I didn't notice my IDE adding that.
Thank you for your contribution! |
@lprimak Alright. So everything else applies? |
@lprimak If you don't mind me asking, what is the procedure for responding to PR comments. Should I just make updates, commit, and push? |
Bumps [org.yaml:snakeyaml](https://bitbucket.org/snakeyaml/snakeyaml) from 2.0 to 2.1. - [Commits](https://bitbucket.org/snakeyaml/snakeyaml/branches/compare/snakeyaml-2.1..snakeyaml-2.0) --- updated-dependencies: - dependency-name: org.yaml:snakeyaml dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
yes :)
Not sure what you mean there. The issue is to fix compiler warnings, so if you fix the compiler warning that applies then :) Try not to do too much. I did see some class renaming. I am pretty sure that would be out of scope. |
Oh, I'll have to take a look at that. By the way, would it be expected I resolve the issue or just make progress? I know some places prefer frequent pull requests while others prefer them to be basically when the entire issue is resolved. |
I would say to air on the side of resolving the issue in full |
Alright. I might retract this PR then. I'm not sure I want to hanging around while I work on that |
I would just keep working on it. No harm there in draft |
Good point. Would i have to keep squashing or could I just keep my future commits separate? |
I would not worry about squashing until you are ready at the end |
Alright. Thanks for taking the time to reply to me! I find it really encouraging. |
No problem. Looking forward to your contributions! |
Could you point out where that is? I don't believe I've renamed any classes, but I'm sure I may be wrong. |
Also, it seems that subclasses of HashedCredentialMatcher have been deprecated. I believe removing the implementation of those classes is out of the scope of this issue. |
Just leave the questionable stuff for last |
It seems like most errors are outdated documentation that includes deprecated items. I don't think I have sufficient knowledge of the code base to update the documentation. Maybe I could publish the PR without the documentation changes. Let me know what would be the best course of action. |
I would concentrate on resolving unchecked casts and raw types, by making them actual generics or using |
Thank you. That's clears up what direction I should take for this. |
…date instantiation of Security Manager
… into 1004-Clean-Up-Compiler-Warnings
This effort is abandoned for now, Anyone willing please feel free to take it over. |
Superseded by #1233 |
fixes #1004
Following this checklist to help us incorporate your contribution quickly and easily:
for the change (usually before you start working on it). Trivial changes like typos do not
require a GitHub issue. Your pull request should address just this issue, without pulling in other changes.
[#XXX] - Fixes bug in SessionManager
,where you replace
#XXX
with the appropriate GitHub issue. Best practiceis to use the GitHub issue title in the pull request title and in the first line of the commit message.
fixes #XXX
if merging the PR should close a related issue.mvn verify
to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.git rebase -i
.Trivial changes like typos do not require a GitHub issue (javadoc, comments...).
In this case, just format the pull request title like
[DOC] - Add javadoc in SessionManager
.If this is your first contribution, you have to read the Contribution Guidelines
If your pull request is about ~20 lines of code you don't need to sign an Individual Contributor License Agreement
if you are unsure please ask on the developers list.
To make clear that you license your contribution under the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.