plugin/checkstyle/src/main/java/se/jguru/nazgul/tools/plugin/checkstyle/CheckstyleReport.java
private boolean hasResources(List<Resource> resources) {
        for (Resource resource : resources) {
            if (new File(resource.getDirectory()).exists()) {
                return true;
            }
        }
        return false;
    }
private boolean hasResources(List<Resource> resources) {
        for (Resource resource : resources) {
            if (new File(resource.getDirectory()).exists()) {
                return true;
            }
        }
        return false;
    }
Check if any of the resources exist.

@param resources The resources to check
@return <code>true</code> if the resource directory exist