System.out.println("Using provider " + provider);
if (logger.isDebugEnabled()) logger.debug("Using provider " + provider);
    private void allocateAggtask(Task subtask, boolean remote) {        int subtype = getSubtype(subtask);        Asset asset;        if (remote) {            asset = provider;            System.out.println("Using provider " + provider);        } else {            asset = theAllocAsset;        }        if (asset == null) return; // Wait 'til out provider checks reports for service        AllocationResult ar =            PluginHelper            .createEstimatedAllocationResult(subtask, theLDMF, 1.0, true);        Allocation alloc =            theLDMF.createAllocation(subtask.getPlan(), subtask, asset,                                     ar, testProviderRole);        publishAdd(alloc);    }