We can operate on a simple wildcard, just to that.
Change-Id: I6eb1dadefad849b18cf84285ebf86920805cda66
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
}
}
- @SuppressWarnings({ "rawtypes", "checkstyle:illegalCatch" })
+ @SuppressWarnings("checkstyle:illegalCatch")
static final void assertMojoExecution(final YangToSourcesProcessor processor, final Prepare prepare,
final Verify verify) {
- try (MockedStatic<ServiceLoader> staticLoader = mockStatic(ServiceLoader.class)) {
+ try (MockedStatic<?> staticLoader = mockStatic(ServiceLoader.class)) {
final FileGenerator generator = mock(FileGenerator.class);
doCallRealMethod().when(generator).importResolutionMode();