Skip to content

Commit

Permalink
Revert "Fixes null pointer in ComponentDefinition"
Browse files Browse the repository at this point in the history
This reverts commit 7817755.
  • Loading branch information
pzygielo committed Nov 6, 2022
1 parent f066947 commit 1ec2ca6
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,7 @@ static boolean isExcludedFromAnnotationProcessing(Class<?> clazz) {
if (clazz.getPackage().getName().startsWith("java.lang")) {
return true;
}
if (clazz.getCanonicalName() == null) {
return false;
} else {
return EXCLUDED_FROM_ANNOTATION_PROCESSING.contains(clazz.getCanonicalName());
}
return EXCLUDED_FROM_ANNOTATION_PROCESSING.contains(clazz.getCanonicalName());
}


Expand Down

0 comments on commit 1ec2ca6

Please sign in to comment.