From 4772569036901e5aef661bd5fd31239972f090df Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Sat, 10 Mar 2018 00:44:11 +0100 Subject: [PATCH] Remove deprecated FileTreeIterator(WorkingTreeIterator, File, FS) Use FileTreeIterator#FileTreeIterator(FileTreeIterator, File, FS) instead. Change-Id: I675e14863a1a387e7da9fc5148feffaf55d4ad39 Signed-off-by: Matthias Sohn --- .../jgit/treewalk/FileTreeIterator.java | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/FileTreeIterator.java b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/FileTreeIterator.java index 8df764d29..0130cf97e 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/FileTreeIterator.java +++ b/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. *