Skip to content
Snippets Groups Projects
Commit b928431e authored by Andrea Burattin's avatar Andrea Burattin
Browse files

Sleepy bug-fix

parent 5dcc45b9
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ public abstract class StreamMiningAlgorithm<T extends Response> extends RichFlat
protected T process(BEvent event) {
try {
long value = 1;
if (processedEvents == null || processedEvents.value() != null) {
if (processedEvents != null && processedEvents.value() != null) {
value = processedEvents.value() + 1;
}
processedEvents.update(value);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment