-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Issues/5530 use consistent naming #5698
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
Issues/5530 use consistent naming #5698
Conversation
|
Can one of the admins verify this patch? |
…into issues/5530-use-consistent-naming
|
Removed the error message for missing disallowedWords property. It was a hack and didn't feel like it was a good solution. Changed to now have 2 default values to search for, URL and HTTP. This can still be overwritten by setting the disallowedWords property. |
New Checkstyle for disallowed words. (Azure#5530) New Checkstyle for disallowed words. (Azure#5530) New Checkstyle for disallowed words. (Azure#5530)
* Add WebSocketsProxyConnectionHandler. * Update ReactorHandlerProvider to connect proxy. * Add Objects.requiresNotNull check. * Integration web proxy handler in ReactorConnection. * Fix API for MockReactorHandlerProvider. * Adding tests for WebSocketsProxyConnectionHandler. * Use logger.throw * Adding tests for ReactorHandlerProvider. * Adding documentation to WebSocketsProxyConnectionHandler. Using SystemDefaults when a proxy should be used. * Asserting UserAgent string is in connection properties. * Adding simple proxy for integration tests. * Update IntegrationTestBase to getProxyConfiguration from configuration. * Add ProxyIntegrationTest. * Add ProxyReceiveTest. * Handling PROTON_IO errors. * Add integration tests for proxy configuration. * Cleaning up simple proxy. * Ignore tests until simple proxy is fixed.
* Remove SAS generation methods from Azure Blob clients * Add some resource type logic to BlobServiceSASSignatureValues * Fix failing test * Removed SAS token methods in Queue clients * Fixing some more tests * Fix Javadoc links * Fixing linting issues, prototyping BlobSasConstructor * Minor refactoring in new class * Re-record failing tests * Fix checkstyle issues * Fix accidentally method name change * Fix javadoc issue * Cleanup checkstyle issues * Make SAS generation classes public API * Fixing checkstyle issues
* Updating comments in package-info.java. * Update documentation in Tracer and TracerProxy. * Add doc updates to Poller. * Making code snippets more reactor-ish. * Fix naming. * Fix typos. * Move ClientLogger java doc samples to correct location. * Update documentation in ClientLogger. * Fix codesnippet references. * Update package-info.java * Update parameter docs.
* Renaming classes and methods as per naming guidelines
* Update README and CHANGELOG for Event Hubs * Add async clients to changelog
* Add remove to HttpHeaders * Use ConcurrentHashMap
…into issues/5530-use-consistent-naming
…m/chrischild/azure-sdk-for-java into issues/5530-use-consistent-naming
518f8f9 to
19a4f7e
Compare
|
Tried to squash some commits and that didn't seem to work so reset to previous good commit. |
JonathanGiles
left a comment
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.
Very promising. Left some feedback for your consideration. Thanks!
...de-quality-reports/src/main/java/com/azure/tools/checkstyle/checks/DisallowedWordsCheck.java
Outdated
Show resolved
Hide resolved
...de-quality-reports/src/main/java/com/azure/tools/checkstyle/checks/DisallowedWordsCheck.java
Outdated
Show resolved
Hide resolved
eng/code-quality-reports/src/main/resources/checkstyle/checkstyle.xml
Outdated
Show resolved
Hide resolved
...de-quality-reports/src/main/java/com/azure/tools/checkstyle/checks/DisallowedWordsCheck.java
Outdated
Show resolved
Hide resolved
...de-quality-reports/src/main/java/com/azure/tools/checkstyle/checks/DisallowedWordsCheck.java
Outdated
Show resolved
Hide resolved
...de-quality-reports/src/main/java/com/azure/tools/checkstyle/checks/DisallowedWordsCheck.java
Outdated
Show resolved
Hide resolved
...de-quality-reports/src/main/java/com/azure/tools/checkstyle/checks/DisallowedWordsCheck.java
Outdated
Show resolved
Hide resolved
|
Just wanted to check in. |
|
Just popping in again and wanted to point out that I have created a new branch for all the files that were changed. I found that there were quite a few, over 100, and I think it would pollute this PR to check it into the same branch. The new branch commit is here |
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.
Just a few comments. It looks great! Thanks so much. :)
...de-quality-reports/src/main/java/com/azure/tools/checkstyle/checks/DisallowedWordsCheck.java
Outdated
Show resolved
Hide resolved
...de-quality-reports/src/main/java/com/azure/tools/checkstyle/checks/DisallowedWordsCheck.java
Outdated
Show resolved
Hide resolved
...de-quality-reports/src/main/java/com/azure/tools/checkstyle/checks/DisallowedWordsCheck.java
Outdated
Show resolved
Hide resolved
...de-quality-reports/src/main/java/com/azure/tools/checkstyle/checks/DisallowedWordsCheck.java
Outdated
Show resolved
Hide resolved
...de-quality-reports/src/main/java/com/azure/tools/checkstyle/checks/DisallowedWordsCheck.java
Show resolved
Hide resolved
...ality-reports/src/test/java/com/azure/tools/checkstyle/checks/DisallowedWordsCheckTests.java
Show resolved
Hide resolved
eng/code-quality-reports/src/main/resources/checkstyle/checkstyle.xml
Outdated
Show resolved
Hide resolved
JonathanGiles
left a comment
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.
Thank you for your contribution! Connie has a few pieces of minor feedback, and I'm just wanting to see if any issues arise when you turn this on. We are close to getting this merged!
|
How do you feel about the naming I used? I also think BlacklistedWords might be better but either works. |
|
@chrischild I like blacklist, it's concise. I won't lose sleep if you decide not to change it though. |
|
Sorry I'm just fixing an issue with Git I found. |
|
GitHub does not allow you to re-open a branch if it has been recreated apparently so I had to create a new PR here. Apologies but I was committing some info that I didn't want to be. |
Created a new Checkstyle to look for specific words that should follow normal camelcasing standards.
Since it seems like there could be a growing list of words I added the ability to pass in a set of words that should be checked against.
Currently I checked in the checkstyle.xml that has an example of usage.
Since I did not have a set of concrete words I have not gone and changed any of the outstanding naming issues that were not fixed in #5544. If provided with a full list I can do that as well.
Fixes #5530