Fix two other tests to treat both old and new JSpecify packages the same
This commit is contained in:
committed by
Space Team
parent
503e093af3
commit
70cd547c26
+1
@@ -58,6 +58,7 @@ class JavaTypeEnhancementStateParser(
|
||||
|
||||
return JavaTypeEnhancementState(jsr305Settings) {
|
||||
when {
|
||||
it.isSubpackageOf(JSPECIFY_OLD_ANNOTATIONS_PACKAGE) -> jspecifyReportLevel
|
||||
it.isSubpackageOf(JSPECIFY_ANNOTATIONS_PACKAGE) -> jspecifyReportLevel
|
||||
it.isSubpackageOf(CHECKER_FRAMEWORK_COMPATQUAL_ANNOTATIONS_PACKAGE) -> compatqualCheckerFrameworkAnnotationsReportLevel
|
||||
else -> getReportLevelForAnnotation(it, nullabilityAnnotationReportLevels, kotlinVersion)
|
||||
|
||||
Reference in New Issue
Block a user