From 20da2d47707d89c1927b272817ff554cdafb3a90 Mon Sep 17 00:00:00 2001 From: Kristen Kozak Date: Tue, 27 Mar 2018 12:28:55 -0700 Subject: Remove @SuppressWarnings("nullness") from all AutoValue classes. This change allows the Checker Framework to check the classes annotated with @AutoValue, even though their generated subclasses are skipped. This commit also fixes some previously suppressed warnings in the ViewData class. --- .../exporter/trace/stackdriver/StackdriverTraceConfiguration.java | 3 --- 1 file changed, 3 deletions(-) (limited to 'exporters/trace/stackdriver') diff --git a/exporters/trace/stackdriver/src/main/java/io/opencensus/exporter/trace/stackdriver/StackdriverTraceConfiguration.java b/exporters/trace/stackdriver/src/main/java/io/opencensus/exporter/trace/stackdriver/StackdriverTraceConfiguration.java index 88613724..3733b763 100644 --- a/exporters/trace/stackdriver/src/main/java/io/opencensus/exporter/trace/stackdriver/StackdriverTraceConfiguration.java +++ b/exporters/trace/stackdriver/src/main/java/io/opencensus/exporter/trace/stackdriver/StackdriverTraceConfiguration.java @@ -28,9 +28,6 @@ import javax.annotation.concurrent.Immutable; */ @AutoValue @Immutable -// Suppress Checker Framework warning about missing @Nullable in generated equals method. -@AutoValue.CopyAnnotations -@SuppressWarnings("nullness") public abstract class StackdriverTraceConfiguration { StackdriverTraceConfiguration() {} -- cgit v1.2.3