Skip to content

Commit

Permalink
Revert "[DropwizardExport] Allow to override getHelpMessage"
Browse files Browse the repository at this point in the history
This reverts commit 6f52c40.
  • Loading branch information
KacperFilutowski-TomTom committed Jan 22, 2025
1 parent 6f52c40 commit bcb83d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public DropwizardExports(
this.labelMapper = Optional.ofNullable(labelMapper);
}

protected String getHelpMessage(String metricName, Metric metric) {
private static String getHelpMessage(String metricName, Metric metric) {
return String.format(
"Generated from Dropwizard metric import (metric=%s, type=%s)",
metricName, metric.getClass().getName());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public DropwizardExports(
this.labelMapper = Optional.ofNullable(labelMapper);
}

protected String getHelpMessage(String metricName, Metric metric) {
private static String getHelpMessage(String metricName, Metric metric) {
return String.format(
"Generated from Dropwizard metric import (metric=%s, type=%s)",
metricName, metric.getClass().getName());
Expand Down

0 comments on commit bcb83d2

Please sign in to comment.