Skip to content

Commit

Permalink
Removed duplicate event post in HASCO.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwever committed Feb 22, 2019
1 parent af4ff35 commit c665f04
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ else if (searchEvent instanceof EvaluatedSearchSolutionCandidateFoundEvent) {
assert (hascoSolutionEvent != null) : "Hasco solution event has not been seen yet or cannot be retrieved from cache.";
this.logger.info("Received new solution with score {} from search, communicating this solution to the HASCO listeners. Number of returned unparametrized solutions is now {}/{}.", hascoSolutionEvent.getScore(),
this.returnedUnparametrizedComponentInstances.size(), this.numUnparametrizedSolutions);
this.post(hascoSolutionEvent);
return hascoSolutionEvent;
} else {
return searchEvent;
Expand Down

0 comments on commit c665f04

Please sign in to comment.