This commit is contained in:
Stephane Nicoll
2020-05-17 11:25:23 +02:00
parent a8926c2da7
commit 9255ae9fbe
2 changed files with 5 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -136,7 +136,7 @@ class JvmModuleAssertTests {
.isThrownBy(() -> assertThat(forJavaProject(root)).testSource("com.acme", "DemoTests"));
}
private AssertProvider<AbstractJvmModuleAssert> forJavaProject(Path root) {
private AssertProvider<AbstractJvmModuleAssert<?>> forJavaProject(Path root) {
return () -> new JvmModuleAssert(root, JAVA_LANGUAGE);
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -60,7 +60,7 @@ public class ProjectGenerationInvokerTests {
private static final InitializrMetadata metadata = InitializrMetadataTestBuilder.withDefaults().build();
private ProjectGenerationInvoker invoker;
private ProjectGenerationInvoker<ProjectRequest> invoker;
private AnnotationConfigApplicationContext context;
@@ -69,7 +69,7 @@ public class ProjectGenerationInvokerTests {
@BeforeEach
void setup() {
setupContext();
this.invoker = new ProjectGenerationInvoker(this.context, this.eventPublisher,
this.invoker = new ProjectGenerationInvoker<>(this.context, this.eventPublisher,
new DefaultProjectRequestToDescriptionConverter());
}