GH-745 - Polishing.
Reintroduce original method in deprecated form.
This commit is contained in:
@@ -47,6 +47,18 @@ public interface ApplicationModuleDetectionStrategy {
|
||||
return pkg -> pkg.getDirectSubPackages().stream();
|
||||
}
|
||||
|
||||
/**
|
||||
* A {@link ApplicationModuleDetectionStrategy} that considers packages explicitly annotated with
|
||||
* {@link ApplicationModule} module base packages.
|
||||
*
|
||||
* @return will never be {@literal null}.
|
||||
* @deprecated since 1.3. Use {@link #explicitlyAnnotated()} instead.
|
||||
*/
|
||||
@Deprecated(forRemoval = true)
|
||||
static ApplicationModuleDetectionStrategy explictlyAnnotated() {
|
||||
return explicitlyAnnotated();
|
||||
}
|
||||
|
||||
/**
|
||||
* A {@link ApplicationModuleDetectionStrategy} that considers packages explicitly annotated with
|
||||
* {@link ApplicationModule} module base packages.
|
||||
|
||||
Reference in New Issue
Block a user