mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2025-01-22 23:51:33 +01:00
Exclude jacoco fields from consistency test
- Fix wrong condition check :)
This commit is contained in:
parent
dbd0e04a2e
commit
6be6e8e851
@ -86,7 +86,7 @@ public class ClassesConsistencyTest {
|
||||
.filter(clz -> !CLASSES_EXCLUDED_FROM_VISIBILITY_TEST.contains(clz))
|
||||
.map(Class::getDeclaredFields)
|
||||
.flatMap(Arrays::stream)
|
||||
.filter(f -> f.getName().contains("$"))
|
||||
.filter(f -> !f.getName().contains("$"))
|
||||
.filter(f -> hasIllegalFieldVisibility(f))
|
||||
.map(f -> formatField(f))
|
||||
.collect(Collectors.toSet());
|
||||
|
Loading…
Reference in New Issue
Block a user