This commit is contained in:
Adrien Grand 2024-12-16 18:04:56 +01:00
parent 40def5aba0
commit d63f3bb395
1 changed files with 2 additions and 1 deletions

View File

@ -73,7 +73,8 @@ final class DisiPriorityQueue2 extends DisiPriorityQueue {
top2 = entry;
return updateTop();
} else {
throw new IllegalStateException("Trying to add a 3rd element to a DisiPriorityQueue configured with a max size of 2");
throw new IllegalStateException(
"Trying to add a 3rd element to a DisiPriorityQueue configured with a max size of 2");
}
}