Skip to content

Commit

Permalink
Tidy ExternalProvider re-using Util.wrapAspect() method
Browse files Browse the repository at this point in the history
  • Loading branch information
rbygrave committed Feb 1, 2023
1 parent 3961d59 commit 386cc4c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ void init() {
providedTypes.add(provide.getCanonicalName());
}
for (final Class<?> provide : module.autoProvidesAspects()) {
providedTypes.add(Constants.ASPECT_PROVIDER + "<" + provide.getCanonicalName() + ">");
providedTypes.add(Util.wrapAspect(provide.getCanonicalName()));
}
} catch (ServiceConfigurationError expected) {
// ignore expected error reading the module that we are also writing
Expand Down

0 comments on commit 386cc4c

Please sign in to comment.