From 1a5c37e192fed54d4428dc9137e689ddabdd286e Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Fri, 29 Nov 2024 14:35:35 +0100 Subject: [PATCH] Fix JavaDoc of MDCAmbit.java --- slf4j-api/src/main/java/org/slf4j/MDCAmbit.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slf4j-api/src/main/java/org/slf4j/MDCAmbit.java b/slf4j-api/src/main/java/org/slf4j/MDCAmbit.java index 00bf176f3..9fbb17dc5 100644 --- a/slf4j-api/src/main/java/org/slf4j/MDCAmbit.java +++ b/slf4j-api/src/main/java/org/slf4j/MDCAmbit.java @@ -60,7 +60,7 @@ * doSomething(); * } finally { * // MDC remove "k0", "k1", "k2", clear the set of tracked keys - * mdch.clear(); + * mdca.clear(); * } * * @@ -71,7 +71,7 @@ *

* *
- *    DCAmbit mdca = new MDCAmbit();
+ *    MDCAmbit mdca = new MDCAmbit();
  *    Runnable runnable = ...;
  *    mdca.put("k0", "v0").run(runnable);
  *