Performance improvement for MinValidatorForString

Description

For a minor performance improvement, MinValidatorForString minValue can be precalculated to prevent the valueOf like it's done in DecimalMinValidatorForString (even if the JVM will probably eventually optimize it).

The same things applies to MaxValidatorForString.

Environment

None

Status

Assignee

Kevin Pollet

Reporter

Henri Tremblay

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

Yes, likely

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

Priority

Minor
Configure