List<Reduction_MappingRule> rules = entry.getValue();
myApplicableRules.put(entry.getKey(), rules.toArray(new Reduction_MappingRule[rules.size()]));
}
}
public boolean startReductionBlockingForInput(SNode inputNode) {
<BUG>return myBlockedInput.add(inputNode.getSNodeId().toString());
}</BUG>
public void stopReductionBlockingForInput(SNode inputNode) {
<BUG>String id = inputNode.getSNodeId().toString();
assert myBlockedInput.contains(id) : "input wasn't blocked";</BUG>
myBlockedInput.remove(id);

List<Reduction_MappingRule> rules = entry.getValue();
myApplicableRules.put(entry.getKey(), rules.toArray(new Reduction_MappingRule[rules.size()]));
}
}
public boolean startReductionBlockingForInput(SNode inputNode) {
return myBlockedInput.add(inputNode.getSNodeId());
}
public void stopReductionBlockingForInput(SNode inputNode) {
SNodeId id = inputNode.getSNodeId();
assert myBlockedInput.contains(id) : "input wasn't blocked";
