Skip to content

Commit

Permalink
Correct indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
lonemeow committed Feb 18, 2021
1 parent 2bc449c commit 4b507f1
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,9 @@ public B withDefaultAggregators(
* @param maxCardinality maximum cardinality of data in the histogram
*/
public B addHistogram(final String metricId, final DistributionBucket bucket, final int maxCardinality) {
this.metricAggregators
.put(metricId, (metric) -> new BasicHistogramAggregator(metricId, bucket, maxCardinality));
return (B) this;
this.metricAggregators
.put(metricId, (metric) -> new BasicHistogramAggregator(metricId, bucket, maxCardinality));
return (B) this;
}

/**
Expand All @@ -207,7 +207,7 @@ public B addHistogram(final String metricId, final DistributionBucket bucket, fi
* @param bucket distribution bucket
*/
public B addHistogram(final String metricId, final DistributionBucket bucket) {
return addHistogram(metricId, bucket, DEFAULT_MAX_CARDINALITY);
return addHistogram(metricId, bucket, DEFAULT_MAX_CARDINALITY);
}

public abstract R build();
Expand Down

0 comments on commit 4b507f1

Please sign in to comment.