Update core-java-modules/core-java-uuid/src/test/java/com/baeldung/uuid/UUIDPositiveLongGeneratorUnitTest.java

Simplify the throws clause

Co-authored-by: Liam Williams <liam.williams@zoho.com>
This commit is contained in:
Hangga Aji Sayekti 2023-11-02 09:40:20 +07:00 committed by GitHub
parent f25f06795b
commit a5d0a15419
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ public class UUIDPositiveLongGeneratorUnitTest {
private final Logger logger = LoggerFactory.getLogger(UUIDPositiveLongGeneratorUnitTest.class);
@Test
void whenForeachGenerateLongValue_thenCollisionsCheck() throws InvocationTargetException, IllegalAccessException {
void whenForeachGenerateLongValue_thenCollisionsCheck() throws Exception {
printTableHeader();
for (Method method : uuidLongGenerator.getClass().getDeclaredMethods()) {
collisionCheck(method);