Remove unused deprecated methods from BlazeJavacStatistics.
RELNOTES=n/a
@@ -68,9 +68,6 @@ public abstract class BlazeJavacStatistics {
public abstract ImmutableMap<AuxiliaryDataSource, byte[]> auxiliaryData();
- @Deprecated // use auxiliaryData() instead.
- public abstract ImmutableListMultimap<TickKey, Duration> timingTicks();
-
public abstract ImmutableListMultimap<String, Duration> errorProneTicks();
public abstract ImmutableSet<String> processors();
@@ -85,16 +82,6 @@ public abstract class BlazeJavacStatistics {
// TODO(glorioso): We really need to think out more about what data to collect/store here.
- /**
- * Known sources of timing information
- *
- * @deprecated Instead, use {@link AuxiliaryDataSource}.
- */
- @Deprecated
- public enum TickKey {
- DAGGER,
- }
-
/**
* Known sources of additional data to add to the statistics. Each data source can put a single
* byte[] of serialized proto data into this statistics object with {@link
@@ -116,9 +103,6 @@ public abstract class BlazeJavacStatistics {
@AutoValue.Builder
public abstract static class Builder {
- @Deprecated // use auxiliaryDataBuilder() instead
- abstract ImmutableListMultimap.Builder<TickKey, Duration> timingTicksBuilder();
-
abstract ImmutableListMultimap.Builder<String, Duration> errorProneTicksBuilder();
abstract ImmutableMap.Builder<AuxiliaryDataSource, byte[]> auxiliaryDataBuilder();
@@ -140,12 +124,6 @@ public abstract class BlazeJavacStatistics {
public abstract BlazeJavacStatistics build();
- @Deprecated // use addAuxiliaryData(key, byte[]) with a serialized Any proto message.
- public Builder addTick(TickKey key, Duration elapsed) {
- timingTicksBuilder().put(key, elapsed);
- return this;
- }
-
/**
* Add an auxiliary attachment of data to this statistics object. The data should be a proto
* serialization of a google.protobuf.Any protobuf.
