Closed kushagraThapar closed 4 years ago
Hi Kushagra,
I took a look at code and there are two comments:
Regards, Jialin
Hi Kushagra,
I took a look at code and there are two comments:
- I notice some checking for null is replaced by assert. Does that mean the result there cannot be null? If that's the case, I have no problem.
- For the CosmosDBAccessException, maybe the internalException could be an explicit exception from cosmos SDK?
Regards, Jialin
Yes,
CosmosClientException
because that is the only exception Cosmos SDK can throw. I will change it. Here is an overview of what got changed by this pull request:
Issues
======
+ Solved 1
- Added 18
Complexity increasing per file
==============================
- src/main/java/com/microsoft/azure/spring/data/cosmosdb/exception/CosmosDBExceptionUtils.java 3
- src/test/java/com/microsoft/azure/spring/data/cosmosdb/repository/integration/ReactiveCourseRepositoryIT.java 1
Complexity decreasing per file
==============================
+ src/main/java/com/microsoft/azure/spring/data/cosmosdb/core/CosmosTemplate.java -2
See the complete overview on Codacy