}
return result.toString();
}
private String extractFactHandleIds(Activation activation) {
InternalFactHandle activatingFact = (InternalFactHandle)activation.getPropagationContext().getFactHandleOrigin();
StringBuilder sb = new StringBuilder();
if (activatingFact != null) {
sb.append(activatingFact.getId());
}
InternalFactHandle[] factHandles = activation.getTuple().toFactHandles();
for (int i = 0; i < factHandles.length; i++) {
if (activatingFact != null) {
if (activatingFact.getId() == factHandles[i].getId()) {
continue;
}
sb.append(",");
} else {
if (i > 0) {