Skip to content

Commit

Permalink
Trim the surrounding spaces from OSGi bundle names
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaroslav Tulach committed Sep 9, 2021
1 parent cdec2e5 commit 017465e
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -248,6 +248,7 @@ static boolean exportPublicPackages(final Attributes mainAttr, Set<String> keep)
String exp = mainAttr.getValue("Export-Package"); // NOI18N
if (exp != null) {
for (String def : exp.split(",")) {
def = def.trim();
for (String sep : def.split(";")) {
keep.add(sep.replace('.', '/') + "/");
break;
Expand Down

0 comments on commit 017465e

Please sign in to comment.