Skip to content

Commit

Permalink
Merge pull request #17898 from phillip-kruger/catalog-resolver-enhanc…
Browse files Browse the repository at this point in the history
…ements

Small changes to Extension Catalog
aloubyansky authored Jun 15, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents cfb94f3 + 4889784 commit 74dca07
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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;
}
}

Original file line number Diff line number Diff line change
@@ -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();

0 comments on commit 74dca07

Please sign in to comment.