Use @SuppressWarnings(deprecation) instead of @Deprecated (#8645)
This commit is contained in:
parent
65c5972e11
commit
e64f9dc824
|
@ -242,7 +242,7 @@ public final class LoggingEventMapper {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Deprecated // getMarker is deprecate since 1.3.0
|
@SuppressWarnings("deprecation") // getMarker is deprecate since 1.3.0
|
||||||
private static void captureSingleMarkerAttribute(
|
private static void captureSingleMarkerAttribute(
|
||||||
AttributesBuilder attributes, ILoggingEvent loggingEvent) {
|
AttributesBuilder attributes, ILoggingEvent loggingEvent) {
|
||||||
Marker marker = loggingEvent.getMarker();
|
Marker marker = loggingEvent.getMarker();
|
||||||
|
|
Loading…
Reference in New Issue