Skip to content

Commit

Permalink
Merge pull request #1579 from niruhan/master
Browse files Browse the repository at this point in the history
Remove newlines and correct license year
  • Loading branch information
suhothayan authored Dec 4, 2019
2 parents 604d55f + eacf127 commit 1ab8dde
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
* Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,11 @@ public ComplexEventChunk<StateEvent> tryUpdate(ComplexEventChunk<StateEvent> upd
Object storeEvents,
InMemoryCompiledUpdateSet compiledUpdateSet,
AddingStreamEventExtractor addingStreamEventExtractor) {

updatingOrAddingEventChunk.reset();
while (updatingOrAddingEventChunk.hasNext()) {
StateEvent overwritingOrAddingEvent = updatingOrAddingEventChunk.next();
((IndexedEventHolder) storeEvents).overwrite(addingStreamEventExtractor.getAddingStreamEvent
(overwritingOrAddingEvent));

}
return null;
}
Expand Down

0 comments on commit 1ab8dde

Please sign in to comment.