commit | 90dfc9c00470d2469013e0c76681832360d4d7f1 | [log] [tgz] |
---|---|---|
author | Robert Varga <nite@hq.sk> | Fri Feb 09 14:50:07 2018 +0100 |
committer | Michael Osipov <michaelo@apache.org> | Mon Mar 05 20:36:02 2018 +0100 |
tree | 77d07809970e6d2ad9e3f00e88c5ac682eb52422 | |
parent | 57fc4329d99f994e0f9a608cd28e5a48d185563f [diff] |
[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