Skip to content
Snippets Groups Projects
Commit 8eac8c07 authored by Florian Fittkau's avatar Florian Fittkau
Browse files

minor

parent 850237f6
No related branches found
No related tags found
No related merge requests found
......@@ -30,8 +30,7 @@ class TraceReconstructionBuffer {
updatedInThisPeriod = true;
setMaxOrderIndex(event);
if ((event instanceof AbstractBeforeEventRecord)
|| (event instanceof AbstractBeforeRemoteEventRecord)) {
if ((event instanceof AbstractBeforeEventRecord)) {
openEvents++;
final AbstractBeforeEventRecord beforeEvent = (AbstractBeforeEventRecord) event;
beforeEvent.setRuntimeStatisticInformation(new RuntimeStatisticInformation(1, -1, -1));
......@@ -40,6 +39,8 @@ class TraceReconstructionBuffer {
|| (event instanceof AbstractAfterEventRecord)
|| (event instanceof AbstractAfterRemoteEventRecord)) {
openEvents--;
} else if ((event instanceof AbstractBeforeRemoteEventRecord)) {
openEvents++;
}
events.add(event);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment