@@ -402,8 +402,7 @@ public boolean hasSources() {
402
402
@ Override
403
403
protected Jar getExtra () throws Exception {
404
404
Parameters conditionals = getMergedParameters (CONDITIONAL_PACKAGE );
405
- // TODO change the decorated call to remove the second arg.
406
- conditionals .putAll (decorated (CONDITIONALPACKAGE , true ));
405
+ conditionals .putAll (decorated (CONDITIONALPACKAGE ));
407
406
if (conditionals .isEmpty ())
408
407
return null ;
409
408
logger .debug ("do Conditional Package {}" , conditionals );
@@ -629,11 +628,9 @@ private void doExpand(Jar dot) throws Exception {
629
628
}
630
629
631
630
Parameters private_package = getParameters (PRIVATE_PACKAGE );
632
- // TODO change the decorated call to remove the second arg.
633
- Parameters privatepackage = decorated (PRIVATEPACKAGE , true );
631
+ Parameters privatepackage = decorated (PRIVATEPACKAGE );
634
632
Parameters testpackage = new Parameters ();
635
- // TODO change the decorated call to remove the second arg.
636
- Parameters includepackage = decorated (INCLUDEPACKAGE , true );
633
+ Parameters includepackage = decorated (INCLUDEPACKAGE );
637
634
638
635
if (buildInstrs .undertest ()) {
639
636
String h = mergeProperties (Constants .TESTPACKAGES , "test;presence:=optional" );
@@ -905,8 +902,7 @@ private Instruction matches(Instructions instructions, String pack, Set<Instruct
905
902
private void doIncludeResources (Jar jar ) throws Exception {
906
903
Parameters includes = parseHeader (getProperty ("Bundle-Includes" ));
907
904
if (includes .isEmpty ()) {
908
- // TODO change the decorated call to remove the second arg.
909
- includes = decorated (Constants .INCLUDERESOURCE , true );
905
+ includes = decorated (Constants .INCLUDERESOURCE );
910
906
includes .putAll (getMergedParameters (Constants .INCLUDE_RESOURCE ));
911
907
} else {
912
908
warning ("Please use -includeresource instead of Bundle-Includes" );
0 commit comments