Browse Source

Remove deprecated FileTreeIterator(WorkingTreeIterator, File, FS)

Use FileTreeIterator#FileTreeIterator(FileTreeIterator, File, FS)
instead.

Change-Id: I675e14863a1a387e7da9fc5148feffaf55d4ad39
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-5.0
Matthias Sohn 7 years ago
parent
commit
4772569036
  1. 21
      org.eclipse.jgit/src/org/eclipse/jgit/treewalk/FileTreeIterator.java

21
org.eclipse.jgit/src/org/eclipse/jgit/treewalk/FileTreeIterator.java

@ -159,27 +159,6 @@ public class FileTreeIterator extends WorkingTreeIterator {
init(entries());
}
/**
* Create a new iterator to traverse a subdirectory.
*
* @param p
* the parent iterator we were created from.
* @param root
* the subdirectory. This should be a directory contained within
* the parent directory.
* @param fs
* the file system abstraction which will be necessary to perform
* certain file system operations.
* @since 4.3
* @deprecated use {@link #FileTreeIterator(FileTreeIterator, File, FS)}
* instead.
*/
@Deprecated
protected FileTreeIterator(final WorkingTreeIterator p, final File root,
FS fs) {
this(p, root, fs, DefaultFileModeStrategy.INSTANCE);
}
/**
* Create a new iterator to traverse a subdirectory.
*

Loading…
Cancel
Save