TSK-1838: fixed local compilation through IDE

due to missing type inference in JDK8
This commit is contained in:
Mustapha Zorgati 2022-04-06 14:30:06 +02:00
parent 2e07e1aa12
commit 541985b007
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ class ArchitectureTest {
}
private ArchCondition<JavaClass> onlyHaveFieldsWithNoModifierAndPrivateConstants() {
return new ArchCondition<>("only have fields with no modifier") {
return new ArchCondition<JavaClass>("only have fields with no modifier") {
final Set<JavaModifier> modifiersForConstants =
Set.of(JavaModifier.PRIVATE, JavaModifier.STATIC, JavaModifier.FINAL);