Skip to content

Commit 386cc4c

Browse files
committed
Tidy ExternalProvider re-using Util.wrapAspect() method
1 parent 3961d59 commit 386cc4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inject-generator/src/main/java/io/avaje/inject/generator/ExternalProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void init() {
2626
providedTypes.add(provide.getCanonicalName());
2727
}
2828
for (final Class<?> provide : module.autoProvidesAspects()) {
29-
providedTypes.add(Constants.ASPECT_PROVIDER + "<" + provide.getCanonicalName() + ">");
29+
providedTypes.add(Util.wrapAspect(provide.getCanonicalName()));
3030
}
3131
} catch (ServiceConfigurationError expected) {
3232
// ignore expected error reading the module that we are also writing

0 commit comments

Comments
 (0)