You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dd-java-agent/instrumentation/junit/junit-4/junit-4.10/src/main/java/datadog/trace/instrumentation/junit4/JUnit4TracingListener.java
Copy file name to clipboardExpand all lines: dd-java-agent/instrumentation/junit/junit-4/junit-4.10/src/main/java/datadog/trace/instrumentation/junit4/JUnit4Utils.java
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -117,10 +117,11 @@ public static List<RunListener> runListenersFromRunNotifier(final RunNotifier ru
117
117
}
118
118
119
119
/**
120
-
* Walks through {@link RunNotifier} wrappers (e.g. Bazel's {@code RunNotifierWrapper}) so the
121
-
* effective {@code listeners} field is read, not the wrapper's own (forwarded) one.
120
+
* Walks through {@link RunNotifier} wrappers (e.g. Bazel's {@code RunNotifierWrapper}) and
121
+
* returns the inner notifier whose {@code listeners} field actually receives {@code addListener}
122
+
* calls. Returns the input untouched when it is not a known wrapper.
0 commit comments