src/main/java/com/revo/deployr/client/broker/engine/BackgroundTaskBroker.java [94:113]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public void callback(RTask task, RTaskResult result) {

        Integer resourceToken = (Integer) taskResourceTokenMap.remove(task);

        if (resourceToken != null) {
            boolean added = resourceTokenPool.add(resourceToken);

            if (!added) {
                System.out.println("BackgroundTaskBroker: " +
                        "callback, project could not be added " +
                        "back to pool, ???????.");
            }

        } else {
            System.out.println("BackgroundTaskBroker: " +
                    "callback, task does not have " +
                    "matching project, ???????.");
        }

    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/com/revo/deployr/client/broker/engine/DiscreteTaskBroker.java [98:117]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public void callback(RTask task, RTaskResult result) {

        Integer resourceToken = (Integer) taskResourceTokenMap.remove(task);

        if (resourceToken != null) {
            boolean added = resourceTokenPool.add(resourceToken);

            if (!added) {
                System.out.println("DiscreteTaskBroker: " +
                        "callback, project could not be added " +
                        "back to pool, ???????.");
            }

        } else {
            System.out.println("DiscreteTaskBroker: " +
                    "callback, task does not have " +
                    "matching project, ???????.");
        }

    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



