eclipse-vertx / eclipse-vertx/vertx-json-schema

Move the appending of slashes out of loops

Open
#75 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.