Browse files

Removing sysouts

  • Loading branch information...
1 parent 2b964e0 commit 71fbb5cd14f2c45a61a3f09cbf30ff5b186877d5 krisv committed Jun 23, 2011
View
6 jbpm-human-task/src/main/java/org/jbpm/task/event/MessagingTaskEventListener.java
@@ -52,24 +52,18 @@ public void taskClaimed(TaskClaimedEvent event) {
}
public void taskCompleted(TaskCompletedEvent event) {
- System.out.println("MessagingTaskEventListener.taskCompleted " + event.getTaskId());
EventKey key = new TaskEventKey(TaskCompletedEvent.class, event.getTaskId() );
List<EventTriggerTransport> targets = keys.getTargets( key );
if ( targets == null ){
key = new TaskEventKey(TaskCompletedEvent.class, -1);
targets = keys.getTargets( key );
if (targets == null) {
- System.out.println("Found no listeners");
return;
- } else {
- System.out.println("Found generic listeners: " + targets.size());
}
} else {
- System.out.println("Found specific listeners: " + targets.size());
key = new TaskEventKey(TaskCompletedEvent.class, -1);
List<EventTriggerTransport> additionalTargets = keys.getTargets( key );
if (additionalTargets != null) {
- System.out.println("Found generic listeners: " + additionalTargets.size());
targets.addAll(additionalTargets);
}
}

0 comments on commit 71fbb5c

Please sign in to comment.