Remove method that was  copied and pasted from slf4j instrumentation  but seems not to be relevant here
@@ -36,18 +36,6 @@ public class ThreadContextInstrumentation extends Instrumenter.Default {
return named("org.apache.logging.log4j.ThreadContext");
}
- @Override
- public void postMatch(
- final TypeDescription typeDescription,
- final ClassLoader classLoader,
- final JavaModule module,
- final Class<?> classBeingRedefined,
- final ProtectionDomain protectionDomain) {
- if (classBeingRedefined != null) {
- ThreadContextAdvice.mdcClassInitialized(classBeingRedefined);
- }
- }
-
@Override
public Map<? extends ElementMatcher<? super MethodDescription>, String> transformers() {
return singletonMap(isTypeInitializer(), ThreadContextAdvice.class.getName());
