Skip to content

Commit

Permalink
Small changes to Extension Catalog
Browse files Browse the repository at this point in the history
Signed-off-by:Phillip Kruger <[email protected]>
  • Loading branch information
phillip-kruger committed Jun 14, 2021
1 parent fc31727 commit 4889784
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 4889784

Please sign in to comment.