Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Commit

Permalink
[Chance-core] Align to changes in master
Browse files Browse the repository at this point in the history
  • Loading branch information
sotty committed Oct 14, 2013
1 parent 04f9019 commit b6b02b4
Showing 1 changed file with 6 additions and 12 deletions.
Expand Up @@ -109,19 +109,13 @@ protected void doRemove( RuleRemovalContext ruleRemovalContext, ReteooBuilder re
public void attach( BuildContext context ) {
attach();

for ( int i = 0, length = context.getWorkingMemories().length; i < length; i++ ) {
final InternalWorkingMemory workingMemory = context.getWorkingMemories()[i];
final PropagationContext propagationContext = new PropagationContextImpl( workingMemory.getNextPropagationIdCounter(),
PropagationContext.RULE_ADDITION,
null,
null,
null );

this.leftInput.updateSink( this,
propagationContext,
workingMemory );
}
}

@Override
public void updateSinkOnAttach( BuildContext context, PropagationContext propagationContext, InternalWorkingMemory workingMemory ) {
this.leftInput.updateSink( this,
propagationContext,
workingMemory );
}


Expand Down

0 comments on commit b6b02b4

Please sign in to comment.