Skip to content
Permalink
Browse files
Fix bug where top-level input ports were sometimes not correctly mark…
…ed as primary
  • Loading branch information
ndw committed Oct 25, 2013
1 parent 54faa60 commit 1a03cb9243ad8c072edfbcddcad217e400fa3db7
Showing 1 changed file with 2 additions and 2 deletions.
@@ -459,7 +459,7 @@ private Vector<XdmNode> readSignature(Step step) {
int inputCount = 0;
Input maybePrimaryInput = null;
for (Input input : step.inputs()) {
if (!input.getParameterInput()) {
if (!input.getParameterInput() && !input.getPort().startsWith("|")) {
inputCount++;
maybePrimaryInput = input;
}
@@ -472,7 +472,7 @@ private Vector<XdmNode> readSignature(Step step) {
inputCount = 0;
maybePrimaryInput = null;
for (Input input : step.inputs()) {
if (input.getParameterInput()) {
if (input.getParameterInput() && !input.getPort().startsWith("|")) {
inputCount++;
maybePrimaryInput = input;
}

0 comments on commit 1a03cb9

Please sign in to comment.