diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/IndexDiff.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/IndexDiff.java index f5aaa5e8f..b19e77825 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/IndexDiff.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/IndexDiff.java @@ -49,6 +49,7 @@ import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; +import java.util.Set; import org.eclipse.jgit.dircache.DirCache; import org.eclipse.jgit.dircache.DirCacheIterator; @@ -90,17 +91,17 @@ public class IndexDiff { private final WorkingTreeIterator initialWorkingTreeIterator; - private HashSet added = new HashSet(); + private Set added = new HashSet(); - private HashSet changed = new HashSet(); + private Set changed = new HashSet(); - private HashSet removed = new HashSet(); + private Set removed = new HashSet(); - private HashSet missing = new HashSet(); + private Set missing = new HashSet(); - private HashSet modified = new HashSet(); + private Set modified = new HashSet(); - private HashSet untracked = new HashSet(); + private Set untracked = new HashSet(); /** * Construct an IndexDiff @@ -243,42 +244,42 @@ public class IndexDiff { /** * @return list of files added to the index, not in the tree */ - public HashSet getAdded() { + public Set getAdded() { return added; } /** * @return list of files changed from tree to index */ - public HashSet getChanged() { + public Set getChanged() { return changed; } /** * @return list of files removed from index, but in tree */ - public HashSet getRemoved() { + public Set getRemoved() { return removed; } /** * @return list of files in index, but not filesystem */ - public HashSet getMissing() { + public Set getMissing() { return missing; } /** * @return list of files on modified on disk relative to the index */ - public HashSet getModified() { + public Set getModified() { return modified; } /** * @return list of files on modified on disk relative to the index */ - public HashSet getUntracked() { + public Set getUntracked() { return untracked; }