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:
parent
f25f06795b
commit
a5d0a15419
|
@ -19,7 +19,7 @@ public class UUIDPositiveLongGeneratorUnitTest {
|
||||||
private final Logger logger = LoggerFactory.getLogger(UUIDPositiveLongGeneratorUnitTest.class);
|
private final Logger logger = LoggerFactory.getLogger(UUIDPositiveLongGeneratorUnitTest.class);
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void whenForeachGenerateLongValue_thenCollisionsCheck() throws InvocationTargetException, IllegalAccessException {
|
void whenForeachGenerateLongValue_thenCollisionsCheck() throws Exception {
|
||||||
printTableHeader();
|
printTableHeader();
|
||||||
for (Method method : uuidLongGenerator.getClass().getDeclaredMethods()) {
|
for (Method method : uuidLongGenerator.getClass().getDeclaredMethods()) {
|
||||||
collisionCheck(method);
|
collisionCheck(method);
|
||||||
|
|
Loading…
Reference in New Issue