Details
Description
DefaultArtifact(String) always compiles the coordinate matching pattern. This leads to sub-optimal performance when this constructor is used.
The pattern being matched should be a constant, so that we instantiate only a matcher, which is fast compared to Pattern.compile(String).