Skip to content
Commit 90dfc9c0 authored by Robert Varga's avatar Robert Varga Committed by Michael Osipov
Browse files

[MRESOLVER-42] Use pre-compiled pattern in DefaultArtifact constructor

Compiling a pattern is a rather expensive operation and doing it
a user-convenient constructor is very hurtful. Cache the compiled
pattern in a static final field, just like other classes in this
artifact do.

This closes #16
parent 57fc4329
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment