String () { @NonNls StringBuilder result = new StringBuilder("VcsDirtyScope["); if (!myDirtyFiles.isEmpty()) { result.append(" files: "); for (Set<FilePath> paths : myDirtyFiles.values()) { for (FilePath file : paths) { result.append(file).append(" "); } } } if (!myDirtyDirectoriesRecursively.isEmpty()) { result.append("\ndirs: "); for (RecursiveFilePathSet dirsByRoot : myDirtyDirectoriesRecursively.values()) { for (FilePath file : dirsByRoot.filePaths()) { result.append(file).append(" "); } } } result.append("\naffected roots: "); for (VirtualFile root : myAffectedVcsRoots) { result.append(root.getPath()).append(" "); } result.append("]"); return result.toString(); }