Minor cleanup

This commit is contained in:
Nikolay Martynov 2020-02-27 10:46:33 +01:00
parent 050298802a
commit 06b052c4d9
1 changed files with 5 additions and 3 deletions

View File

@ -217,11 +217,13 @@ public interface Instrumenter {
public abstract Map<? extends ElementMatcher<? super MethodDescription>, String> transformers();
/**
* A map of {class-name -> context-class-name}. Keys (and their subclasses) will be associated
* with a context of the value.
* Context stores to define for this instrumentation.
*
* <p>A map of {class-name -> context-class-name}. Keys (and their subclasses) will be
* associated with a context of the value.
*/
public Map<String, String> contextStore() {
return Collections.EMPTY_MAP;
return Collections.emptyMap();
}
protected boolean defaultEnabled() {