-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Fixing checkstyle issues #6643
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
Merged
mbhaskar
merged 12 commits into
Azure:feature/cosmos/v4
from
mbhaskar:mbhaskar/v4-checkstyle-changes
Dec 13, 2019
Merged
Fixing checkstyle issues #6643
mbhaskar
merged 12 commits into
Azure:feature/cosmos/v4
from
mbhaskar:mbhaskar/v4-checkstyle-changes
Dec 13, 2019
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…-changes # Conflicts: # sdk/cosmos/azure-cosmos-examples/src/main/java/com/azure/cosmos/examples/BasicDemo.java # sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/BridgeInternal.java # sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/ConflictResolutionMode.java # sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/ConflictResolutionPolicy.java # sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosAsyncContainer.java # sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosContainer.java # sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosItemProperties.java # sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/JsonSerializable.java # sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/query/DocumentQueryExecutionContextFactory.java # sdk/cosmos/azure-cosmos/src/test/java/com/azure/cosmos/CosmosPartitionKeyTests.java
moderakh
suggested changes
Dec 4, 2019
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/ClientSideRequestStatistics.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/ConnectionPolicy.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/PartitionKey.java
Show resolved
Hide resolved
...c/test/java/com/azure/cosmos/implementation/directconnectivity/RntbdTransportClientTest.java
Outdated
Show resolved
Hide resolved
Removing throwing check exceptions from sync wrapper
moderakh
suggested changes
Dec 11, 2019
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/ChangeFeedOptions.java
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/ClientSideRequestStatistics.java
Outdated
Show resolved
Hide resolved
.../main/java/com/azure/cosmos/implementation/query/metrics/FetchExecutionRangeAccumulator.java
Outdated
Show resolved
Hide resolved
...os/src/test/java/com/azure/cosmos/implementation/directconnectivity/AddressResolverTest.java
Outdated
Show resolved
Hide resolved
...os/src/test/java/com/azure/cosmos/implementation/directconnectivity/AddressResolverTest.java
Outdated
Show resolved
Hide resolved
…-changes # Conflicts: # sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/ClientSideRequestStatistics.java # sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosClientException.java # sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/InternalServerErrorException.java
…tion Moving back to Slf4j logger from azure core logger Moving back checkstyle fails to false. This has to enabled after deciding on the logger
Member
Author
|
/azp run java - cosmos - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
moderakh
approved these changes
Dec 12, 2019
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/ConnectionPolicy.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosAsyncDatabase.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosClient.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosClientBuilder.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosConflictProperties.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosContainer.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosDatabase.java
Outdated
Show resolved
Hide resolved
kushagraThapar
requested changes
Dec 12, 2019
Member
kushagraThapar
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.
Few suggestions. Please review them.
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/ChangeFeedProcessorOptions.java
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosAsyncContainer.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosAsyncContainer.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosAsyncStoredProcedureResponse.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosContainer.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosScripts.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/JsonSerializable.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/PartitionKey.java
Show resolved
Hide resolved
enabling checkstyle violations in the right place (eng/exceptions) - Implementing PR comments
Member
Author
|
/azp run java - cosmos - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
kushagraThapar
approved these changes
Dec 12, 2019
Member
Author
|
/azp run java - cosmos - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
azure.core.util.logging.ClientLoggerin JsonSerializablePublic surface changes
builder()in CosmosClient and CosmosAsyncClient tocosmosClientBuilder()PartitionKey.NonetoParitionKey.NONENew codesnippet model –
Going forward for any multiple line, substantial code documentation please follow the way I used in IndexPolicyCodeSnippet, it will avoid any outdated code in the documentation
==
Reverted logger and exception checkstyle recommendations and disabled checkstyle failOnError for now. Will have to reenable after fixing the above