File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
spring-modulith-core/src/main/java/org/springframework/modulith/core Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ private NamedInterface(String name, Classes classes) {
53
53
}
54
54
55
55
/**
56
- * Returns all {@link PackageBasedNamedInterface }s for the given {@link JavaPackage}.
56
+ * Returns all {@link NamedInterface }s for the given {@link JavaPackage}.
57
57
*
58
58
* @param javaPackage must not be {@literal null}.
59
59
* @return will never be {@literal null}.
@@ -73,11 +73,10 @@ static List<NamedInterface> of(JavaPackage javaPackage) {
73
73
}
74
74
75
75
/**
76
- * Returns a {@link TypeBasedNamedInterface } with the given name, {@link Classes} and base {@link JavaPackage}.
76
+ * Returns a {@link NamedInterface } with the given name, {@link Classes} and base {@link JavaPackage}.
77
77
*
78
78
* @param name must not be {@literal null} or empty.
79
79
* @param classes must not be {@literal null}.
80
- * @param basePackage must not be {@literal null}.
81
80
* @return will never be {@literal null}.
82
81
*/
83
82
static NamedInterface of (String name , Classes classes ) {
@@ -156,7 +155,7 @@ public Iterator<JavaClass> iterator() {
156
155
}
157
156
158
157
/**
159
- * Merges the current {@link NamedInterface} with the given {@link TypeBasedNamedInterface }.
158
+ * Merges the current {@link NamedInterface} with the given {@link NamedInterface }.
160
159
*
161
160
* @param other must not be {@literal null}.
162
161
* @return will never be {@literal null}.
Original file line number Diff line number Diff line change @@ -145,14 +145,14 @@ public Iterator<NamedInterface> iterator() {
145
145
}
146
146
147
147
/**
148
- * Creates a new {@link NamedInterfaces} instance with the given {@link TypeBasedNamedInterface }s added.
148
+ * Creates a new {@link NamedInterfaces} instance with the given {@link NamedInterface }s added.
149
149
*
150
150
* @param others must not be {@literal null}.
151
151
* @return will never be {@literal null}.
152
152
*/
153
153
NamedInterfaces and (List <NamedInterface > others ) {
154
154
155
- Assert .notNull (others , "Other TypeBasedNamedInterfaces must not be null!" );
155
+ Assert .notNull (others , "Other NamedInterfaces must not be null!" );
156
156
157
157
var namedInterfaces = new ArrayList <NamedInterface >();
158
158
var unmergedInterface = this .namedInterfaces ;
You can’t perform that action at this time.
0 commit comments