plugin/checkstyle/src/main/java/se/jguru/nazgul/tools/plugin/checkstyle/exec/CheckstyleCheckerListener.java
public void fileStarted(AuditEvent event) {
        final String fileName = StringUtils.replace(event.getFileName(), "\\", "/");

        for (File sourceDirectory : sourceDirectories) {
            String sourceDirectoryPath = StringUtils.replace(sourceDirectory.getPath(), "\\", "/");

            if (fileName.startsWith(sourceDirectoryPath + "/")) {
                currentFile = StringUtils.substring(fileName, sourceDirectoryPath.length() + 1);

                events = getResults().getFileViolations(currentFile);

                break;
            }
        }

        if (events == null) {
            events = new ArrayList<>();
        }
    }
public void fileStarted(AuditEvent event) {
        final String fileName = StringUtils.replace(event.getFileName(), "\\", "/");

        for (File sourceDirectory : sourceDirectories) {
            String sourceDirectoryPath = StringUtils.replace(sourceDirectory.getPath(), "\\", "/");

            if (fileName.startsWith(sourceDirectoryPath + "/")) {
                currentFile = StringUtils.substring(fileName, sourceDirectoryPath.length() + 1);

                events = getResults().getFileViolations(currentFile);

                break;
            }
        }

        if (events == null) {
            events = new ArrayList<>();
        }
    }
{@inheritDoc}