Skip to content

Commit 3ab4cee

Browse files
committed
Update Module.java
1 parent a533246 commit 3ab4cee

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

inject/src/main/java/io/avaje/inject/spi/Module.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public interface Module {
1010
/**
1111
* Empty array of classes.
1212
*/
13-
Class<?>[] EMPTY_CLASSES = new Class<?>[]{};
13+
Class<?>[] EMPTY_CLASSES = {};
1414

1515
/**
1616
* Return the set of types this module explicitly provides to other modules.
@@ -64,13 +64,10 @@ default Class<?>[] autoRequires() {
6464
return EMPTY_CLASSES;
6565
}
6666
/**
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
6868
* modules (that are in the classpath at compile time).
6969
*
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()}.
7270
*/
73-
7471
default Class<?>[] autoRequiresAspects() {
7572
return EMPTY_CLASSES;
7673
}

0 commit comments

Comments
 (0)