Bump com.diffplug.spotless:spotless-plugin-gradle from 6.17.0 to 6.18.0 (#5352)

* Bump com.diffplug.spotless:spotless-plugin-gradle from 6.17.0 to 6.18.0

Bumps [com.diffplug.spotless:spotless-plugin-gradle](https://github.com/diffplug/spotless) from 6.17.0 to 6.18.0.
- [Release notes](https://github.com/diffplug/spotless/releases)
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](https://github.com/diffplug/spotless/compare/gradle/6.17.0...gradle/6.18.0)

---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-plugin-gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* spotless

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
This commit is contained in:
dependabot[bot] 2023-04-06 15:13:11 -05:00 committed by GitHub
parent 79e0a7219c
commit 38e38cb29f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 16 deletions

View File

@ -56,8 +56,8 @@ public interface SpanContext {
spanIdHex,
traceFlags,
traceState,
/* remote=*/ false,
/* skipIdValidation=*/ false);
/* remote= */ false,
/* skipIdValidation= */ false);
}
/**
@ -82,8 +82,8 @@ public interface SpanContext {
spanIdHex,
traceFlags,
traceState,
/* remote=*/ true,
/* skipIdValidation=*/ false);
/* remote= */ true,
/* skipIdValidation= */ false);
}
/**

View File

@ -33,7 +33,7 @@ repositories {
dependencies {
implementation("com.google.auto.value:auto-value-annotations:1.10.1")
// When updating, update above in plugins too
implementation("com.diffplug.spotless:spotless-plugin-gradle:6.17.0")
implementation("com.diffplug.spotless:spotless-plugin-gradle:6.18.0")
// Needed for japicmp but not automatically brought in for some reason.
implementation("com.google.guava:guava:31.1-jre")
implementation("com.squareup:javapoet:1.13.0")

View File

@ -210,39 +210,39 @@ final class TraceConfigzZPageHandler extends ZPageHandler {
emitActiveTableRow(
/* out= */ out,
/* paramName= */ "Sampler",
/* paramValue=*/ configSupplier.getSampler().getDescription(),
/* paramValue= */ configSupplier.getSampler().getDescription(),
/* zebraStripeColor= */ ZEBRA_STRIPE_COLOR,
/* zebraStripe= */ false);
emitActiveTableRow(
/* out= */ out,
/* paramName= */ "MaxNumOfAttributes",
/* paramValue=*/ Integer.toString(configSupplier.get().getMaxNumberOfAttributes()),
/* paramValue= */ Integer.toString(configSupplier.get().getMaxNumberOfAttributes()),
/* zebraStripeColor= */ ZEBRA_STRIPE_COLOR,
/* zebraStripe= */ true);
emitActiveTableRow(
/* out= */ out,
/* paramName= */ "MaxNumOfEvents",
/* paramValue=*/ Integer.toString(configSupplier.get().getMaxNumberOfEvents()),
/* paramValue= */ Integer.toString(configSupplier.get().getMaxNumberOfEvents()),
/* zebraStripeColor= */ ZEBRA_STRIPE_COLOR,
/* zebraStripe= */ false);
emitActiveTableRow(
/* out= */ out,
/* paramName= */ "MaxNumOfLinks",
/* paramValue=*/ Integer.toString(configSupplier.get().getMaxNumberOfLinks()),
/* paramValue= */ Integer.toString(configSupplier.get().getMaxNumberOfLinks()),
/* zebraStripeColor= */ ZEBRA_STRIPE_COLOR,
/* zebraStripe= */ true);
emitActiveTableRow(
/* out= */ out,
/* paramName= */ "MaxNumOfAttributesPerEvent",
/* paramValue=*/ Integer.toString(configSupplier.get().getMaxNumberOfAttributesPerEvent()),
/* paramValue= */ Integer.toString(configSupplier.get().getMaxNumberOfAttributesPerEvent()),
/* zebraStripeColor= */ ZEBRA_STRIPE_COLOR,
/* zebraStripe= */ false);
emitActiveTableRow(
/* out= */ out,
/* paramName= */ "MaxNumOfAttributesPerLink",
/* paramValue=*/ Integer.toString(configSupplier.get().getMaxNumberOfAttributesPerLink()),
/* paramValue= */ Integer.toString(configSupplier.get().getMaxNumberOfAttributesPerLink()),
/* zebraStripeColor= */ ZEBRA_STRIPE_COLOR,
/* zebraStripe=*/ true);
/* zebraStripe= */ true);
out.print("</table>");
}

View File

@ -157,7 +157,8 @@ class PeriodicMetricReaderTest {
@Timeout(2)
@SuppressLogger(PeriodicMetricReader.class)
public void intervalExport_exporterThrowsException() throws Exception {
WaitingMetricExporter waitingMetricExporter = new WaitingMetricExporter(/* shouldThrow=*/ true);
WaitingMetricExporter waitingMetricExporter =
new WaitingMetricExporter(/* shouldThrow= */ true);
PeriodicMetricReader reader =
PeriodicMetricReader.builder(waitingMetricExporter)
.setInterval(Duration.ofMillis(100))

View File

@ -117,7 +117,7 @@ class SdkSpanTest {
START_EPOCH_NANOS,
START_EPOCH_NANOS,
StatusData.unset(),
/*hasEnded=*/ true);
/* hasEnded= */ true);
}
@Test
@ -148,7 +148,7 @@ class SdkSpanTest {
START_EPOCH_NANOS,
0,
StatusData.unset(),
/*hasEnded=*/ false);
/* hasEnded= */ false);
assertThat(span.hasEnded()).isFalse();
assertThat(span.isRecording()).isTrue();
} finally {
@ -179,7 +179,7 @@ class SdkSpanTest {
START_EPOCH_NANOS,
testClock.now(),
StatusData.create(StatusCode.ERROR, "CANCELLED"),
/*hasEnded=*/ true);
/* hasEnded= */ true);
}
@Test