-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add CodeQL workflow #858
Add CodeQL workflow #858
Conversation
sleberknight
commented
Jan 29, 2023
- De-lomboks before build
- Runs extended security and quality suites
* De-lomboks before build * Runs extended security and quality suites
Compilation failed because one class ( |
This is blocked until #859 is resolved. Then, rebase to this branch. |
* Replace Lombok Delegate on the wrapped WebTarget with "real" code * Make this class implement WebTarget * Update class-level Javadocs to remove the "Limitations" section * Fix method javadocs that incorrectly stated "this" is returned * Fix a few minor grammatical errors in comments Closes #859
* {@inheritDoc} | ||
*/ | ||
@Override | ||
public WebTargetHelper register(Class<?> componentClass, Map<Class<?>, Integer> contracts) { |
Check notice
Code scanning / CodeQL
Confusing overloading of methods
* {@inheritDoc} | ||
*/ | ||
@Override | ||
public WebTargetHelper register(Class<?> componentClass, Class<?>... contracts) { |
Check notice
Code scanning / CodeQL
Confusing overloading of methods
* {@inheritDoc} | ||
*/ | ||
@Override | ||
public WebTargetHelper register(Class<?> componentClass, int priority) { |
Check notice
Code scanning / CodeQL
Confusing overloading of methods
* {@inheritDoc} | ||
*/ | ||
@Override | ||
public WebTargetHelper register(Class<?> componentClass) { |
Check notice
Code scanning / CodeQL
Confusing overloading of methods
Sonar failed the last commit, but the auto-merge merged anyway. (I guess we don't have something correctly set up)
* Change getKeyStore methods so that they return an empty Optional if either path or password is null. * Update Javadocs to match new implementation and explain the intent of these methods is to load an existing key store, not create a new one. * Fix several tests that were asserting that the returned Optional was not null instead of it containing a value. Fixes #861
Fix log injection in FilePathValidator and DirectoryPathValidator by removing the path from the log message. I can't find something to easily (and with 100% certainty) sanitize the path from all possible badness, so just removing it entirely. Add message about the Nul character in FilePathValidator just like the DirectortPathValidator has. Extracted Nul character check to package-private method in InternalKiwiValidators. Fixes #880 Fixes #883
Kudos, SonarCloud Quality Gate passed! |
This PR branch is "16 commits ahead, 14 commits behind master" and since I don't want to deal with trying to fix all that, closing this and will create a new PR. |