diff --git a/biz.aQute.bndlib/src/aQute/bnd/build/Project.java b/biz.aQute.bndlib/src/aQute/bnd/build/Project.java index d4115a1c6b..5aad432e4e 100644 --- a/biz.aQute.bndlib/src/aQute/bnd/build/Project.java +++ b/biz.aQute.bndlib/src/aQute/bnd/build/Project.java @@ -619,8 +619,7 @@ public List getBundles(Strategy strategyx, String spec, String source Parameters bundles = parseHeader(spec); if (source != null) { Instructions decorator = new Instructions(mergeProperties(source + "+")); - // TODO change the decorated call to remove the second arg. - decorator.decorate(bundles, true); + decorator.decorate(bundles); decorator = new Instructions(mergeProperties(source + "++")); decorator.decorate(bundles, true); } diff --git a/biz.aQute.bndlib/src/aQute/bnd/osgi/Builder.java b/biz.aQute.bndlib/src/aQute/bnd/osgi/Builder.java index a33b797568..e4db48bc7d 100644 --- a/biz.aQute.bndlib/src/aQute/bnd/osgi/Builder.java +++ b/biz.aQute.bndlib/src/aQute/bnd/osgi/Builder.java @@ -402,8 +402,7 @@ public boolean hasSources() { @Override protected Jar getExtra() throws Exception { Parameters conditionals = getMergedParameters(CONDITIONAL_PACKAGE); - // TODO change the decorated call to remove the second arg. - conditionals.putAll(decorated(CONDITIONALPACKAGE, true)); + conditionals.putAll(decorated(CONDITIONALPACKAGE)); if (conditionals.isEmpty()) return null; logger.debug("do Conditional Package {}", conditionals); @@ -629,11 +628,9 @@ private void doExpand(Jar dot) throws Exception { } Parameters private_package = getParameters(PRIVATE_PACKAGE); - // TODO change the decorated call to remove the second arg. - Parameters privatepackage = decorated(PRIVATEPACKAGE, true); + Parameters privatepackage = decorated(PRIVATEPACKAGE); Parameters testpackage = new Parameters(); - // TODO change the decorated call to remove the second arg. - Parameters includepackage = decorated(INCLUDEPACKAGE, true); + Parameters includepackage = decorated(INCLUDEPACKAGE); if (buildInstrs.undertest()) { String h = mergeProperties(Constants.TESTPACKAGES, "test;presence:=optional"); @@ -905,8 +902,7 @@ private Instruction matches(Instructions instructions, String pack, Set