Skip to content

Commit 9cf7aac

Browse files
committed
Updating suppression warning annotation and adding a description message
1 parent 7effb0d commit 9cf7aac

File tree

1 file changed

+3
-1
lines changed
  • disk-buffering/src/main/java/io/opentelemetry/contrib/disk/buffering/internal/serialization/mapping/logs/models

1 file changed

+3
-1
lines changed

disk-buffering/src/main/java/io/opentelemetry/contrib/disk/buffering/internal/serialization/mapping/logs/models/LogRecordDataImpl.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import io.opentelemetry.sdk.resources.Resource;
1818
import javax.annotation.Nullable;
1919

20-
@SuppressWarnings({"deprecation", "SuppressWarningsWithoutExplanation"})
2120
@AutoValue
2221
public abstract class LogRecordDataImpl implements ExtendedLogRecordData {
2322

@@ -38,6 +37,9 @@ public ExtendedAttributes getExtendedAttributes() {
3837
return ExtendedAttributes.builder().putAll(getAttributes()).build();
3938
}
4039

40+
// It's only deprecated in the incubating interface for extended attributes, which are not yet
41+
// supported in this module.
42+
@SuppressWarnings("deprecation")
4143
@Override
4244
public abstract Attributes getAttributes();
4345

0 commit comments

Comments
 (0)