Skip to content

Commit 86f745e

Browse files
committed
GH-317 - Fix Javadoc.
1 parent 9148a57 commit 86f745e

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

spring-modulith-core/src/main/java/org/springframework/modulith/core/ApplicationModules.java

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,9 @@ private ApplicationModules(ModulithMetadata metadata, Map<String, ApplicationMod
159159
}
160160

161161
/**
162-
* Creates a new {@link ApplicationModules} relative to the given modulith type. Will inspect the {@link Modulith}
163-
* annotation on the class given for advanced customizations of the module setup.
162+
* Creates a new {@link ApplicationModules} relative to the given modulith type. Will inspect the
163+
* {@link org.springframework.modulith.Modulith} annotation on the class given for advanced customizations of the
164+
* module setup.
164165
*
165166
* @param modulithType must not be {@literal null}.
166167
* @return will never be {@literal null}.
@@ -172,8 +173,8 @@ public static ApplicationModules of(Class<?> modulithType) {
172173
/**
173174
* Creates a new {@link ApplicationModules} relative to the given modulith type, a
174175
* {@link ApplicationModuleDetectionStrategy} and a {@link DescribedPredicate} which types and packages to ignore.
175-
* Will inspect the {@link Modulith} and {@link Modulithic} annotations on the class given for advanced customizations
176-
* of the module setup.
176+
* Will inspect the {@link org.springframework.modulith.Modulith} and {@link org.springframework.modulith.Modulithic}
177+
* annotations on the class given for advanced customizations of the module setup.
177178
*
178179
* @param modulithType must not be {@literal null}.
179180
* @param ignored must not be {@literal null}.
@@ -421,7 +422,8 @@ public Optional<String> getSystemName() {
421422
* Returns a {@link Comparator} that will sort objects based on their types' application module. In other words,
422423
* objects of types in more fundamental modules will be ordered before ones residing in downstream modules. For
423424
* example, if module A depends on B, objects of types residing in B will be ordered before ones in A. For objects
424-
* residing in the same module, standard Spring-based ordering (via {@link Order} or {@link Ordered}) will be applied.
425+
* residing in the same module, standard Spring-based ordering (via {@link org.springframework.core.annotation.Order}
426+
* or {@link org.springframework.core.Ordered}) will be applied.
425427
*
426428
* @return will never be {@literal null}.
427429
*/

spring-modulith-core/src/main/java/org/springframework/modulith/core/ArchitecturallyEvidentType.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ protected ArchitecturallyEvidentType(JavaClass type) {
5656
}
5757

5858
/**
59-
* Creates a new {@link ArchitecturallyEvidentType} for the given {@link JavaType} and {@link Classes} of Spring
60-
* components.
59+
* Creates a new {@link ArchitecturallyEvidentType} for the given {@link com.tngtech.archunit.core.domain.JavaType}
60+
* and {@link Classes} of Spring components.
6161
*
6262
* @param type must not be {@literal null}.
6363
* @param beanTypes must not be {@literal null}.

spring-modulith-core/src/main/java/org/springframework/modulith/core/Violations.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ private Violations(List<RuntimeException> exceptions) {
4949
}
5050

5151
/**
52-
* A {@link Collector} to turn a {@link Stream} of {@link RuntimeException}s into a {@link Violations} instance.
52+
* A {@link Collector} to turn a {@link java.util.stream.Stream} of {@link RuntimeException}s into a
53+
* {@link Violations} instance.
5354
*
5455
* @return will never be {@literal null}.
5556
*/

0 commit comments

Comments
 (0)