aboutsummaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorKristen Kozak <sebright@google.com>2017-11-10 18:28:44 -0800
committerKristen Kozak <sebright@google.com>2017-11-12 22:12:46 -0800
commitba78379bcf98d4a5a1ee7a3230b5a25f27356edf (patch)
tree0ee513cfbadcf115270f9be63ead828716265c65 /testing
parent33937d32f76703927182ab18f484a1de58a3e0cd (diff)
downloadopencensus-java-ba78379bcf98d4a5a1ee7a3230b5a25f27356edf.tar.gz
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 'testing')
-rw-r--r--testing/src/main/java/io/opencensus/testing/export/TestHandler.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/src/main/java/io/opencensus/testing/export/TestHandler.java b/testing/src/main/java/io/opencensus/testing/export/TestHandler.java
index 4d745230..221a9b3e 100644
--- a/testing/src/main/java/io/opencensus/testing/export/TestHandler.java
+++ b/testing/src/main/java/io/opencensus/testing/export/TestHandler.java
@@ -29,7 +29,9 @@ public final class TestHandler extends SpanExporter.Handler {
private final Object monitor = new Object();
+ // TODO: Decide whether to use a different class instead of LinkedList.
@GuardedBy("monitor")
+ @SuppressWarnings("JdkObsolete")
private final List<SpanData> spanDataList = new LinkedList<SpanData>();
@Override