You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "MartinWitt (via GitHub)" <gi...@apache.org> on 2023/03/12 18:22:01 UTC
[GitHub] [commons-validator] MartinWitt opened a new pull request, #123: refactor: refactor bad smell UnnecessaryToStringCall
MartinWitt opened a new pull request, #123:
URL: https://github.com/apache/commons-validator/pull/123
# Repairing Code Style Issues
<!-- laughing-train-refactor -->
## UnnecessaryToStringCall
The `toString()` method is not needed in cases the underlying method handles the conversion. Also calling toString() on a String is redundant. Removing them simplifies the code.
<!-- fingerprint:947161771 -->
# Repairing Code Style Issues
* UnnecessaryToStringCall (1)
--
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.
To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [commons-validator] garydgregory merged pull request #123: Refactor unnecessary toString() call
Posted by "garydgregory (via GitHub)" <gi...@apache.org>.
garydgregory merged PR #123:
URL: https://github.com/apache/commons-validator/pull/123
--
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.
To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [commons-validator] codecov-commenter commented on pull request #123: refactor: refactor bad smell UnnecessaryToStringCall
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #123:
URL: https://github.com/apache/commons-validator/pull/123#issuecomment-1465268352
## [Codecov](https://codecov.io/gh/apache/commons-validator/pull/123?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> :exclamation: No coverage uploaded for pull request base (`master@4ed1f3d`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#section-missing-base-commit).
> The diff coverage is `0.00%`.
```diff
@@ Coverage Diff @@
## master #123 +/- ##
=========================================
Coverage ? 71.63%
Complexity ? 1142
=========================================
Files ? 63
Lines ? 3113
Branches ? 538
=========================================
Hits ? 2230
Misses ? 689
Partials ? 194
```
| [Impacted Files](https://codecov.io/gh/apache/commons-validator/pull/123?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [...g/apache/commons/validator/ValidatorResources.java](https://codecov.io/gh/apache/commons-validator/pull/123?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2NvbW1vbnMvdmFsaWRhdG9yL1ZhbGlkYXRvclJlc291cmNlcy5qYXZh) | `75.72% <0.00%> (ø)` | |
:mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@commons.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org