Permalink
Browse files

[Chance-core] Align to changes in master

  • Loading branch information...
1 parent 04f9019 commit b6b02b4ccad8cc00302025e04f84f5e179103c2f @sotty sotty committed Oct 14, 2013
@@ -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 );
}

0 comments on commit b6b02b4

Please sign in to comment.