Skip to content

Commit 1b673de

Browse files
Fix exception text mentioned in review
1 parent 7296435 commit 1b673de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/common/metrics/ExponentiallyWeightedMovingRate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public ExponentiallyWeightedMovingRate(double lambda, long startTimeInMillis) {
5454
throw new IllegalArgumentException("lambda must be non-negative but was " + lambda);
5555
}
5656
if (startTimeInMillis <= 0.0) {
57-
throw new IllegalArgumentException("lambda must be non-negative but was " + startTimeInMillis);
57+
throw new IllegalArgumentException("startTimeInMillis must be non-negative but was " + startTimeInMillis);
5858
}
5959
synchronized (this) {
6060
this.lambda = lambda;

0 commit comments

Comments
 (0)