From 7bdf2b2ade41cee2b09822916c423a06c65b1719 Mon Sep 17 00:00:00 2001 From: Excavator Bot <33266368+svc-excavator-bot@users.noreply.github.com> Date: Sun, 15 Aug 2021 16:15:05 +0100 Subject: [PATCH] Excavator: Upgrades Baseline to the latest version (#1189) --- .palantir/revapi.yml | 7 +++++++ build.gradle | 2 +- .../com/palantir/tritium/metrics/registry/MetricName.java | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .palantir/revapi.yml diff --git a/.palantir/revapi.yml b/.palantir/revapi.yml new file mode 100644 index 000000000..04ca2c8b3 --- /dev/null +++ b/.palantir/revapi.yml @@ -0,0 +1,7 @@ +acceptedBreaks: + "0.27.0": + com.palantir.tritium:tritium-registry: + - code: "java.class.nowFinal" + old: "class com.palantir.tritium.metrics.registry.MetricName.Builder" + new: "class com.palantir.tritium.metrics.registry.MetricName.Builder" + justification: "MetricName.Builder is final" diff --git a/build.gradle b/build.gradle index f5cbd890b..5c193ebb6 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ buildscript { dependencies { classpath 'com.google.errorprone:error_prone_core:2.8.1' - classpath 'com.palantir.baseline:gradle-baseline-java:4.13.0' + classpath 'com.palantir.baseline:gradle-baseline-java:4.15.0' classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:2.0.0' classpath 'com.palantir.gradle.externalpublish:gradle-external-publish-plugin:1.4.0' classpath 'com.palantir.gradle.gitversion:gradle-git-version:0.12.3' diff --git a/tritium-registry/src/main/java/com/palantir/tritium/metrics/registry/MetricName.java b/tritium-registry/src/main/java/com/palantir/tritium/metrics/registry/MetricName.java index a32978de7..063976ab8 100644 --- a/tritium-registry/src/main/java/com/palantir/tritium/metrics/registry/MetricName.java +++ b/tritium-registry/src/main/java/com/palantir/tritium/metrics/registry/MetricName.java @@ -43,7 +43,7 @@ static Builder builder() { return new Builder(); } - class Builder extends ImmutableMetricName.Builder { + final class Builder extends ImmutableMetricName.Builder { // We cannot use the immutables implementation because it causes too much hashcode pain. @Override public MetricName build() {