Skip to content

Commit 8af89c3

Browse files
committed
fix error message typos
1 parent 81e051a commit 8af89c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/main/java/com/microsoft/applicationinsights/internal/channel/common/SenderThreadLocalBackOffData.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ final class SenderThreadLocalBackOffData {
5353
* @param addMilliseconds The amount of seconds that will be added to the 'large' intervals to distinct between sender threads.
5454
*/
5555
public SenderThreadLocalBackOffData(long[] backOffTimeoutsInMillis, long addMilliseconds) {
56-
Preconditions.checkNotNull(backOffTimeoutsInMillis, "backOffTimeoutsInSeconds must be not null");
57-
Preconditions.checkArgument(backOffTimeoutsInMillis.length > 0, "backOffTimeoutsInSeconds must not be empty");
58-
Preconditions.checkArgument(addMilliseconds >= 0, "addSeconds must not be >= 0");
56+
Preconditions.checkNotNull(backOffTimeoutsInMillis, "backOffTimeoutsInMillis must be not null");
57+
Preconditions.checkArgument(backOffTimeoutsInMillis.length > 0, "backOffTimeoutsInMillis must not be empty");
58+
Preconditions.checkArgument(addMilliseconds >= 0, "addMilliseconds must not be >= 0");
5959

6060
currentBackOffIndex = -1;
6161
instanceIsActive = true;

0 commit comments

Comments
 (0)