Skip to content

Commit 20802cf

Browse files
committed
mindor javadoc changes
Signed-off-by: ceki <[email protected]>
1 parent 8116069 commit 20802cf

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

logback-classic/src/main/java/ch/qos/logback/classic/PatternLayout.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,16 @@ public class PatternLayout extends PatternLayoutBase<ILoggingEvent> {
4242

4343
public static final Map<String, Supplier<DynamicConverter>> DEFAULT_CONVERTER_SUPPLIER_MAP = new HashMap<>();
4444

45+
/**
46+
* @deprecated replaced by {@link #DEFAULT_CONVERTER_SUPPLIER_MAP}
47+
*/
48+
@Deprecated
4549
public static final Map<String, String> DEFAULT_CONVERTER_MAP = new HashMap<>();
4650
public static final Map<String, String> CONVERTER_CLASS_TO_KEY_MAP = new HashMap<String, String>();
4751

4852
/**
49-
* @deprecated replaced by DEFAULT_CONVERTER_MAP
53+
* @deprecated replaced by {@link #DEFAULT_CONVERTER_MAP} in turn itself replaced by
54+
* {@link #DEFAULT_CONVERTER_SUPPLIER_MAP}
5055
*/
5156
@Deprecated
5257
public static final Map<String, String> defaultConverterMap = DEFAULT_CONVERTER_MAP;

logback-core/src/main/java/ch/qos/logback/core/pattern/color/ConverterSupplierByClassName.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@
2020

2121
import java.util.function.Supplier;
2222

23+
/**
24+
*
25+
* <p>Implements the {@link Supplier} interface in order to cater for legacy code using the class name
26+
* of a converter.
27+
* </p>
28+
* <p>Should not be used in non-legacy code.</p>
29+
*/
2330
public class ConverterSupplierByClassName extends ContextAwareBase implements Supplier<DynamicConverter> {
2431

2532
String conversionWord;

0 commit comments

Comments
 (0)