Fix some IntelliJ stuff
This commit is contained in:
parent
3ef88bde40
commit
6663b08c8c
2 changed files with 8 additions and 0 deletions
|
|
@ -47,6 +47,7 @@ public class DurationUtils {
|
|||
.plusSeconds(seconds);
|
||||
}
|
||||
|
||||
@SuppressWarnings("BooleanMethodIsAlwaysInverted")
|
||||
public static boolean isDurationBetween(Duration target, Duration lowerThreshold, Duration upperThreshold) {
|
||||
if (target == lowerThreshold || target == upperThreshold) return true;
|
||||
return !target.isNegative() &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue