Closed fabiolimace closed 4 years ago
Add methods to UuidCreator:
UuidCreator
The new methods must validate the input argument.
Use the existing methods in UuidConverter.
UuidConverter
The method UuidConverter#fromString() needs optimization.
UuidConverter#fromString()
The method used in UuidValidator#isValid() needs optimization. The regex is not necessary because the UUID canonical format is simple.
UuidValidator#isValid()
Add methods to
UuidCreator
:The new methods must validate the input argument.
Use the existing methods in
UuidConverter
.The method
UuidConverter#fromString()
needs optimization.The method used in
UuidValidator#isValid()
needs optimization. The regex is not necessary because the UUID canonical format is simple.