Skip to content

Commit 0ee9f49

Browse files
committed
Removed command line outputs without logger.
1 parent 01eebae commit 0ee9f49

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

  • softwareconfiguration/hasco/src/main/java/hasco/core

softwareconfiguration/hasco/src/main/java/hasco/core/HASCO.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ public void receiveSearchEvent(final AlgorithmEvent event) {
170170
@Subscribe
171171
public void receiveSolutionCandidateFoundEvent(final EvaluatedSearchSolutionCandidateFoundEvent<N, A, V> solutionEvent) throws InterruptedException, TimeoutException, AlgorithmException {
172172

173-
System.err.println(Thread.currentThread().getName() + ": Received solution event in search listener " + solutionEvent);
174173
EvaluatedSearchGraphPath<N, A, V> searchPath = solutionEvent.getSolutionCandidate();
175174
Plan plan = HASCO.this.planningGraphGeneratorDeriver.getPlan(searchPath.getNodes());
176175
ComponentInstance objectInstance = Util.getSolutionCompositionForPlan(HASCO.this.getInput().getComponents(), HASCO.this.planningProblem.getCorePlanningProblem().getInit(), plan, true);
@@ -194,7 +193,6 @@ public void receiveSolutionCandidateFoundEvent(final EvaluatedSearchSolutionCand
194193
HASCO.this.listOfAllRecognizedSolutions.add(solution);
195194
HASCOSolutionEvent<V> hascoSolutionEvent = new HASCOSolutionEvent<>(HASCO.this.getId(), solution);
196195
HASCO.this.hascoSolutionEventCache.put(solutionEvent, hascoSolutionEvent);
197-
System.err.println(Thread.currentThread().getName() + ": Post solution event in search listener " + solutionEvent);
198196
HASCO.this.post(hascoSolutionEvent);
199197
}
200198

@@ -226,7 +224,6 @@ public void receiveSolutionCandidateFoundEvent(final EvaluatedSearchSolutionCand
226224

227225
/* otherwise, if a solution has been found, we announce this finding to our listeners and memorize if it is a new best candidate */
228226
else if (searchEvent instanceof EvaluatedSearchSolutionCandidateFoundEvent) {
229-
System.err.println(Thread.currentThread().getName() + ": Solution event in HASCO.nextWithException " + searchEvent);
230227
HASCOSolutionEvent<V> hascoSolutionEvent = this.hascoSolutionEventCache.remove(searchEvent);
231228
assert (hascoSolutionEvent != null) : "Hasco solution event has not been seen yet or cannot be retrieved from cache. " + this.hascoSolutionEventCache;
232229
if (hascoSolutionEvent == null) {

0 commit comments

Comments
 (0)