Skip to content

Commit

Permalink
remove commented out exception throw
Browse files Browse the repository at this point in the history
  • Loading branch information
skovati committed Sep 9, 2024
1 parent 8a28738 commit e425bb5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public boolean process(final Set<? extends TypeElement> annotations, final Round
if (packageElement$.getKind() != ElementKind.PACKAGE) throw new RuntimeException("Only packages can be annotated with WithMappers");
packageElement = (PackageElement) packageElement$;
}
if (packageElement == null) return false; //throw new RuntimeException("Need to annotate a package-info class with WithMappers");
if (packageElement == null) return false;

for (final var withMappersAnnotation : getRepeatableAnnotation(packageElement, WithMappers.class)) {
final var attribute = getAnnotationAttribute(withMappersAnnotation, "value").orElseThrow();
Expand Down

0 comments on commit e425bb5

Please sign in to comment.