Skip to content

Commit

Permalink
GH-508 - Fix parameter name to match Javadoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Dohmen authored and odrotbohm committed Feb 23, 2024
1 parent 840a1b6 commit d325c83
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,21 +151,21 @@ protected ApplicationModules(ModulithMetadata metadata, Collection<String> packa
* @param orderedNames must not be {@literal null}.
* @param verified
*/
private ApplicationModules(ModulithMetadata metadata, Map<String, ApplicationModule> modules, JavaClasses classes,
private ApplicationModules(ModulithMetadata metadata, Map<String, ApplicationModule> modules, JavaClasses allClasses,
List<JavaPackage> rootPackages, Supplier<List<ApplicationModule>> rootModules,
Set<ApplicationModule> sharedModules, List<String> orderedNames, boolean verified) {

Assert.notNull(metadata, "ModulithMetadata must not be null!");
Assert.notNull(modules, "Application modules must not be null!");
Assert.notNull(classes, "JavaClasses must not be null!");
Assert.notNull(allClasses, "JavaClasses must not be null!");
Assert.notNull(rootPackages, "Root JavaPackages must not be null!");
Assert.notNull(rootModules, "Root modules must not be null!");
Assert.notNull(sharedModules, "Shared ApplicationModules must not be null!");
Assert.notNull(orderedNames, "Ordered application module names must not be null!");

this.metadata = metadata;
this.modules = modules;
this.allClasses = classes;
this.allClasses = allClasses;
this.rootPackages = rootPackages;
this.rootModules = rootModules;
this.sharedModules = sharedModules;
Expand Down

0 comments on commit d325c83

Please sign in to comment.