Skip to content

Commit a4fda34

Browse files
committed
Squash a spotless warning
1 parent abf3181 commit a4fda34

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/com/rabbitmq/client/amqp/impl/TokenCredentials.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
import com.rabbitmq.client.amqp.oauth.Token;
2121
import com.rabbitmq.client.amqp.oauth.TokenRequester;
22+
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
2223
import java.time.Duration;
2324
import java.time.Instant;
2425
import java.time.format.DateTimeFormatter;
@@ -260,6 +261,7 @@ private static class RatioRefreshDelayStrategy implements Function<Instant, Dura
260261

261262
private final float ratio;
262263

264+
@SuppressFBWarnings("CT_CONSTRUCTOR_THROW")
263265
private RatioRefreshDelayStrategy(float ratio) {
264266
if (ratio < 0 || ratio > 1) {
265267
throw new IllegalArgumentException("Ratio should be > 0 and <= 1: " + ratio);

0 commit comments

Comments
 (0)