TSK-1838: fixed local compilation through IDE
due to missing type inference in JDK8
This commit is contained in:
parent
2e07e1aa12
commit
541985b007
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue