Use @SuppressWarnings(deprecation) instead of @Deprecated (#8645)

This commit is contained in:
Lauri Tulmin 2023-06-05 10:34:53 +03:00 committed by GitHub
parent 65c5972e11
commit e64f9dc824
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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();