Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

fix: Preconditions only supports %s format #1153

Merged
merged 1 commit into from Jul 21, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -536,7 +536,7 @@ public int getPoolSize() {
public Builder setPoolSize(int poolSize) {
Preconditions.checkArgument(poolSize > 0, "Pool size must be positive");
Preconditions.checkArgument(
poolSize <= MAX_POOL_SIZE, "Pool size must be less than %d", MAX_POOL_SIZE);
poolSize <= MAX_POOL_SIZE, "Pool size must be less than %s", MAX_POOL_SIZE);
this.poolSize = poolSize;
return this;
}
Expand Down