Skip to content

Commit

Permalink
GH-522 - Polishing.
Browse files Browse the repository at this point in the history
  • Loading branch information
odrotbohm committed Mar 5, 2024
1 parent 5f7e6a2 commit c45a0fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ static class SpringModulithModule implements ApplicationModuleInformation {
private final Optional<ApplicationModule> annotation;

/**
* Whether the given {@link JavaPackage} supports this {@link ApplicationModuleInformation}.
* Whether the given {@link AnnotationLookup} supports this {@link ApplicationModuleInformation}.
*
* @param javaPackage must not be {@literal null}.
* @param lookup must not be {@literal null}.
*/
public static boolean supports(AnnotationLookup lookup) {

Expand All @@ -159,9 +159,9 @@ public static boolean supports(AnnotationLookup lookup) {
}

/**
* Creates a new {@link SpringModulithModule} for the given {@link JavaPackage}.
* Creates a new {@link SpringModulithModule} for the given {@link AnnotationLookup}.
*
* @param javaPackage must not be {@literal null}.
* @param lookup must not be {@literal null}.
*/
public SpringModulithModule(AnnotationLookup lookup) {
this.annotation = lookup.lookup(ApplicationModule.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,6 @@ public <A extends Annotation> Optional<A> getAnnotation(Class<A> annotationType)
*
* @param <A> the type of the annotation.
* @param annotationType must not be {@literal null}.
* @param typeFilter must not be {@literal null}.
* @return will never be {@literal null}.
* @since 1.2
* @throws IllegalStateException in case multiple types in the current package are annotated with the given
Expand Down

0 comments on commit c45a0fc

Please sign in to comment.