From 07027a2386e40abe42bcfac51ad3c9df1cd00ecf Mon Sep 17 00:00:00 2001 From: Sylvain Juge <763082+SylvainJuge@users.noreply.github.com> Date: Thu, 5 Sep 2024 11:17:21 +0200 Subject: [PATCH] spotless --- jmx-scrapper/build.gradle.kts | 2 -- .../opentelemetry/contrib/jmxscrapper/JmxMetrics.java | 11 +++++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/jmx-scrapper/build.gradle.kts b/jmx-scrapper/build.gradle.kts index 061859b11..5bc45843b 100644 --- a/jmx-scrapper/build.gradle.kts +++ b/jmx-scrapper/build.gradle.kts @@ -19,10 +19,8 @@ dependencies { implementation("io.opentelemetry:opentelemetry-sdk-testing") implementation("io.opentelemetry.instrumentation:opentelemetry-jmx-metrics") - } - tasks { shadowJar { mergeServiceFiles() diff --git a/jmx-scrapper/src/main/java/io/opentelemetry/contrib/jmxscrapper/JmxMetrics.java b/jmx-scrapper/src/main/java/io/opentelemetry/contrib/jmxscrapper/JmxMetrics.java index 29f423811..b9afbe34f 100644 --- a/jmx-scrapper/src/main/java/io/opentelemetry/contrib/jmxscrapper/JmxMetrics.java +++ b/jmx-scrapper/src/main/java/io/opentelemetry/contrib/jmxscrapper/JmxMetrics.java @@ -1,10 +1,13 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + package io.opentelemetry.contrib.jmxscrapper; public class JmxMetrics { - private JmxMetrics() { - } + private JmxMetrics() {} - public static void main(String[] args) { - } + public static void main(String[] args) {} }