From 5e76d45f3cab612b4b5ad6661374371bf36fa8f7 Mon Sep 17 00:00:00 2001 From: Channyboy Date: Fri, 18 Aug 2023 13:03:23 -0400 Subject: [PATCH] Build issues fix --- .../metrics/legacyapi/LegacyMetricRegistryAdapter.java | 4 ++++ .../metrics/setup/config/HistogramBucketConfiguration.java | 5 ----- .../metrics/setup/config/MetricPercentileConfiguration.java | 5 +++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/implementation/src/main/java/io/smallrye/metrics/legacyapi/LegacyMetricRegistryAdapter.java b/implementation/src/main/java/io/smallrye/metrics/legacyapi/LegacyMetricRegistryAdapter.java index 5ad78b71..15cbdeda 100644 --- a/implementation/src/main/java/io/smallrye/metrics/legacyapi/LegacyMetricRegistryAdapter.java +++ b/implementation/src/main/java/io/smallrye/metrics/legacyapi/LegacyMetricRegistryAdapter.java @@ -96,6 +96,8 @@ public MeterRegistry getPrometheusMeterRegistry() { /** * Associates a metric's MetricID to a specific application if an application name can be resolved. + * + * @param metricDescriptor MetricDescriptor of metric */ public void addNameToApplicationMap(MetricDescriptor metricDescriptor) { if (isAppnameResolverPresent) @@ -104,6 +106,8 @@ public void addNameToApplicationMap(MetricDescriptor metricDescriptor) { /** * Associates a metric's MetricID to a specific application if an application name can be resolved. + * + * @param MetricID MetricID of metric */ public void addNameToApplicationMap(MetricID MetricID) { if (isAppnameResolverPresent) diff --git a/implementation/src/main/java/io/smallrye/metrics/setup/config/HistogramBucketConfiguration.java b/implementation/src/main/java/io/smallrye/metrics/setup/config/HistogramBucketConfiguration.java index 85f49147..094e52df 100644 --- a/implementation/src/main/java/io/smallrye/metrics/setup/config/HistogramBucketConfiguration.java +++ b/implementation/src/main/java/io/smallrye/metrics/setup/config/HistogramBucketConfiguration.java @@ -16,11 +16,6 @@ public HistogramBucketConfiguration(String metricName, Double[] values) { } - /** - * - * @param input - * @return - */ public static Collection parse(String input) { ArrayDeque metricBucketConfiCollection = new ArrayDeque(); diff --git a/implementation/src/main/java/io/smallrye/metrics/setup/config/MetricPercentileConfiguration.java b/implementation/src/main/java/io/smallrye/metrics/setup/config/MetricPercentileConfiguration.java index 492d1e1b..e196925e 100644 --- a/implementation/src/main/java/io/smallrye/metrics/setup/config/MetricPercentileConfiguration.java +++ b/implementation/src/main/java/io/smallrye/metrics/setup/config/MetricPercentileConfiguration.java @@ -28,13 +28,14 @@ public boolean isDisabled() { /** * * Parse the `mp.metrics.distribution.percentile` property. - * syntax of =,,..., + * syntax of {@code =,,...,} * No values supplied to a metric name disables percentile output. * Can use wild card `*` at the end of metric name (e.g. demo.app.*) * * @param input MP Config value - * @return Collection Collection of MetricPercentileConfiguration objects + * @return Collection of {@link MetricPercentileConfiguration} objects */ + public static Collection parseMetricPercentiles(String input) { ArrayDeque metricPercentileConfigCollection = new ArrayDeque();