@Override
    public boolean removeLockByTransaction(String transaction) {

        Set<String> thisResources = this.resourcesOfT.get(transaction);

        // This transaction locks no resources
        if (thisResources == null || thisResources.isEmpty())
            return false;

        boolean thereturn = false;
        for (String resource : thisResources) {
            thereturn = this.removeLock(resource, transaction) || thereturn;
        }

        return thereturn;
    }