Use isEmpty
This commit is contained in:
parent
70bed6f4ac
commit
6e10eee6ee
|
@ -127,7 +127,7 @@ public class FieldBackedProvider implements InstrumentationContextProvider {
|
||||||
@Override
|
@Override
|
||||||
public AgentBuilder.Identified.Extendable instrumentationTransformer(
|
public AgentBuilder.Identified.Extendable instrumentationTransformer(
|
||||||
AgentBuilder.Identified.Extendable builder) {
|
AgentBuilder.Identified.Extendable builder) {
|
||||||
if (instrumenter.contextStore().size() > 0) {
|
if (!instrumenter.contextStore().isEmpty()) {
|
||||||
/*
|
/*
|
||||||
* Install transformer that rewrites accesses to context store with specialized bytecode that
|
* Install transformer that rewrites accesses to context store with specialized bytecode that
|
||||||
* invokes appropriate storage implementation.
|
* invokes appropriate storage implementation.
|
||||||
|
|
Loading…
Reference in New Issue