From 96bf64f976159a6a210f4786754c48538bada819 Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Thu, 4 Oct 2012 18:46:08 +0400 Subject: [PATCH] [git] fix javadoc --- .../git4idea/src/git4idea/commands/GitImpl.java | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/plugins/git4idea/src/git4idea/commands/GitImpl.java b/plugins/git4idea/src/git4idea/commands/GitImpl.java index eccac6e20bf8..572a6b50ac45 100644 --- a/plugins/git4idea/src/git4idea/commands/GitImpl.java +++ b/plugins/git4idea/src/git4idea/commands/GitImpl.java @@ -63,25 +63,24 @@ public class GitImpl implements Git { } /** - *

Queries Git for the unversioned files in the given paths.

- *

- * Note: this method doesn't check for ignored files. You have to check if the file is ignored afterwards, if needed. - *

+ *

Queries Git for the unversioned files in the given paths.

+ *

Ignored files are left ignored, i. e. no information is returned about them (thus this method may also be used as a + * ignored files checker.

* * @param files files that are to be checked for the unversioned files among them. * Pass null to query the whole repository. - * @return Unversioned files from the given scope. + * @return Unversioned not ignored files from the given scope. */ @Override @NotNull - public Set untrackedFiles(@NotNull Project project, - @NotNull VirtualFile root, + public Set untrackedFiles(@NotNull Project project, @NotNull VirtualFile root, @Nullable Collection files) throws VcsException { final Set untrackedFiles = new HashSet(); if (files == null) { untrackedFiles.addAll(untrackedFilesNoChunk(project, root, null)); - } else { + } + else { for (List relativePaths : VcsFileUtil.chunkFiles(root, files)) { untrackedFiles.addAll(untrackedFilesNoChunk(project, root, relativePaths)); }