Skip to content

Commit

Permalink
simplify newRelevancyMeasures signature
Browse files Browse the repository at this point in the history
  • Loading branch information
jshook committed Oct 4, 2023
1 parent 68c7fc0 commit d2c0ef9
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,15 @@ public DoubleSummaryGauge newSummaryGauge(NBLabeledElement context, final String
return summaryGauge;
}

public RelevancyMeasures newRelevancyMeasures(NBLabeledElement parent, Map<String,String> labels) {
return new RelevancyMeasures(parent,labels);
}
public RelevancyMeasures newRelevancyMeasures(NBLabeledElement parent, Object... labels) {
return new RelevancyMeasures(parent,labels);
// public RelevancyMeasures newRelevancyMeasures(NBLabeledElement parent, Map<String,String> labels) {
// return new RelevancyMeasures(parent,labels);
// }
public RelevancyMeasures newRelevancyMeasures(NBLabeledElement parent) {
return new RelevancyMeasures(parent);
}
// public RelevancyMeasures newRelevancyMeasures(NBLabeledElement parent, Object... labels) {
// return new RelevancyMeasures(parent,labels);
// }



Expand Down

0 comments on commit d2c0ef9

Please sign in to comment.