Skip to content

Commit

Permalink
Merge pull request quarkusio#17898 from phillip-kruger/catalog-resolv…
Browse files Browse the repository at this point in the history
…er-enhancements

Small changes to Extension Catalog
  • Loading branch information
aloubyansky authored Jun 15, 2021
2 parents cfb94f3 + 4889784 commit 74dca07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ public final class ExtensionProcessor {
public enum CodestartKind {
CORE,
EXTENSION_CODESTART,
EXAMPLE;
EXAMPLE,
SINGLETON_EXAMPLE;

public boolean providesCode() {
return this == EXTENSION_CODESTART || this == EXAMPLE;
return this == EXTENSION_CODESTART || this == EXAMPLE || this == SINGLETON_EXAMPLE;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ public ExtensionCatalog resolveExtensionCatalog(String quarkusCoreVersion) throw
return appendNonPlatformExtensions(registriesByQuarkusCore, extensionCatalogs);
}

public ExtensionCatalog resolveExtensionCatalog(List<ArtifactCoords> platforms)
public ExtensionCatalog resolveExtensionCatalog(Collection<ArtifactCoords> platforms)
throws RegistryResolutionException {
if (platforms.isEmpty()) {
return resolveExtensionCatalog();
Expand Down

0 comments on commit 74dca07

Please sign in to comment.