Skip to content

Commit

Permalink
Adjusting bundle-handling
Browse files Browse the repository at this point in the history
  • Loading branch information
cuioss committed Nov 2, 2023
1 parent e85af75 commit b0259ae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,9 @@ public Optional<String> getBundlePath() {
return Optional.ofNullable(bundle);
}

@Override
public String toString() {
return "%s: Path='%s'".formatted(getClass().getName(), CUSTOM_BUNDLE_PATH);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ void initBean() {
if (foundPaths.contains(descriptor.getBundlePath().get())) {
log.warn(ERR_DUPLICATE_RESOURCE_PATH, descriptor);
} else {
log.debug("Adding Bundle '%s'", descriptor);
log.debug("Adding '%s'", descriptor);
finalPaths.add(descriptor);
foundPaths.add(descriptor.getBundlePath().get());
}
} else {
log.warn("Ignoring Bundle '%s'", descriptor);
log.warn("Ignoring '%s'", descriptor);
}
}
resolvedPaths = finalPaths.toImmutableList();
Expand Down

0 comments on commit b0259ae

Please sign in to comment.