diff options
| author | Kristen Kozak <sebright@google.com> | 2017-11-10 18:28:44 -0800 |
|---|---|---|
| committer | Kristen Kozak <sebright@google.com> | 2017-11-12 22:12:46 -0800 |
| commit | ba78379bcf98d4a5a1ee7a3230b5a25f27356edf (patch) | |
| tree | 0ee513cfbadcf115270f9be63ead828716265c65 /api/src/test | |
| parent | 33937d32f76703927182ab18f484a1de58a3e0cd (diff) | |
| download | platform_external_opencensus-java-ba78379bcf98d4a5a1ee7a3230b5a25f27356edf.tar.gz platform_external_opencensus-java-ba78379bcf98d4a5a1ee7a3230b5a25f27356edf.tar.bz2 platform_external_opencensus-java-ba78379bcf98d4a5a1ee7a3230b5a25f27356edf.zip | |
com.google.errorprone:error_prone_core: 2.0.19 -> 2.1.2
Other changes:
- Remove references to warnings that were removed from Error Prone.
- Suppress occurrences of a new warning, JdkObsolete. All of the warnings are
about uses of LinkedList. We need to decide whether to use a different class
or continue suppressing the warnings. I left TODOs, since each occurrence may
need to be handled differently.
Diffstat (limited to 'api/src/test')
| -rw-r--r-- | api/src/test/java/io/opencensus/trace/export/SpanDataTest.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/api/src/test/java/io/opencensus/trace/export/SpanDataTest.java b/api/src/test/java/io/opencensus/trace/export/SpanDataTest.java index cb962121..ab8d8067 100644 --- a/api/src/test/java/io/opencensus/trace/export/SpanDataTest.java +++ b/api/src/test/java/io/opencensus/trace/export/SpanDataTest.java @@ -68,11 +68,21 @@ public class SpanDataTest { TraceId.generateRandomId(random), SpanId.generateRandomId(random), TraceOptions.DEFAULT); private final SpanId parentSpanId = SpanId.generateRandomId(random); private final Map<String, AttributeValue> attributesMap = new HashMap<String, AttributeValue>(); + + // TODO: Decide whether to use a different class instead of LinkedList. + @SuppressWarnings("JdkObsolete") private final List<TimedEvent<Annotation>> annotationsList = new LinkedList<TimedEvent<Annotation>>(); + + // TODO: Decide whether to use a different class instead of LinkedList. + @SuppressWarnings("JdkObsolete") private final List<TimedEvent<NetworkEvent>> networkEventsList = new LinkedList<SpanData.TimedEvent<NetworkEvent>>(); + + // TODO: Decide whether to use a different class instead of LinkedList. + @SuppressWarnings("JdkObsolete") private final List<Link> linksList = new LinkedList<Link>(); + private Attributes attributes; private TimedEvents<Annotation> annotations; private TimedEvents<NetworkEvent> networkEvents; |
