File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
inject/src/main/java/io/avaje/inject/spi Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public interface Module {
10
10
/**
11
11
* Empty array of classes.
12
12
*/
13
- Class <?>[] EMPTY_CLASSES = new Class <?>[] {};
13
+ Class <?>[] EMPTY_CLASSES = {};
14
14
15
15
/**
16
16
* Return the set of types this module explicitly provides to other modules.
@@ -64,13 +64,10 @@ default Class<?>[] autoRequires() {
64
64
return EMPTY_CLASSES ;
65
65
}
66
66
/**
67
- * These are the classes that this module requires for wiring that are provided by other external
67
+ * These are the apects that this module requires whose implementations are provided by other external
68
68
* modules (that are in the classpath at compile time).
69
69
*
70
- * <p>This is a convenience when using multiple modules that is otherwise controlled manually by
71
- * explicitly using {@link InjectModule#requires()} or {@link InjectModule#requiresPackages()}.
72
70
*/
73
-
74
71
default Class <?>[] autoRequiresAspects () {
75
72
return EMPTY_CLASSES ;
76
73
}
You can’t perform that action at this time.
0 commit comments