8251325: Miss 'L' for long value in if statement

Reviewed-by: iklam
This commit is contained in:
Calvin Cheung 2020-10-15 20:05:28 +00:00
parent 546620bb9e
commit 96bb6e76bf

View File

@ -132,7 +132,7 @@ final class DCmdStart extends AbstractDCmd {
}
if (delay != null) {
if (delay < 1000L * 1000L * 1000) {
if (delay < 1000L * 1000L * 1000L) {
// to avoid typo, delay shorter than 1s makes no sense.
throw new DCmdException("Could not start recording, delay must be at least 1 second.");
}