eclipse-vertx / eclipse-vertx/vertx-json-schema
Move the appending of slashes out of loops
Open
bug
help wanted
- Dominant language
- Java
- Stars
- 86
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
### Version
4.3.4
### Context
I noticed that [a code fragment like “…`Location + "/" + `…” is used within loops at several places](https://github.com/eclipse-vertx/vertx-json-schema/blob/2b9f2294af078787511c3da2824e90c6e7fb3551/src/main/java/io/vertx/json/schema/impl/SchemaValidatorImpl.java#L210 "Update candidate").
:thought_balloon: I suggest to perform such appending of slashes with the help of additional string variables before looping.
Contributor guide
Assessment
This issue has not been assessed yet.