Skip to content

Commit 31991a6

Browse files
committed
LDEV-6165 cleanup
1 parent ec034a2 commit 31991a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/lucee/runtime/osgi/BundleInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ else if (!StringUtil.isEmpty(exportPackage, true) || !StringUtil.isEmpty(frageme
132132
valid = true;
133133
}
134134
// LAR archive (Lucee mapping archive) — always valid, not a real OSGi bundle
135-
else if (attrs.getValue("mapping-type") != null) {
135+
else if (!StringUtil.isEmpty(attrs.getValue("mapping-type"), true)) {
136136
valid = true;
137137
}
138138
// has no exportPackage, fine when it has other files than just class files or has no class files

0 commit comments

Comments
 (0)