You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2019/05/07 04:07:04 UTC
[GitHub] [skywalking] SataQiu opened a new pull request #2619: Clean up
unnecessary times(1) for test verify
SataQiu opened a new pull request #2619: Clean up unnecessary times(1) for test verify
URL: https://github.com/apache/skywalking/pull/2619
Please answer these questions before submitting pull request
- Why submit this pull request?
- [ ] Bug fix
- [ ] New feature provided
- [x] Improve performance
According to the instructions from [Mockito Documents](https://static.javadoc.io/org.mockito/mockito-core/2.27.0/org/mockito/Mockito.html#exact_verification) :
```
times(1) is the default. Therefore using times(1) explicitly can be omitted.
```
This PR helps improve the code cleanliness.
- Related issues
___
### Bug fix
- Bug description.
- How to fix?
___
### New feature or improvement
- Describe the details and related test reports.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services