From: Matthias Sohn Date: Fri, 9 Mar 2018 23:39:20 +0000 (+0100) Subject: Remove deprecated ResolveMerger#processEntry method X-Git-Tag: v5.0.0.201805151920-m7~110 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=211d94e13530a1ab92cbb9f1bf525548679b400c;p=jgit.git Remove deprecated ResolveMerger#processEntry method Change-Id: I687965f6e9f3bcafa28afd62621fea240b36939d Signed-off-by: Matthias Sohn --- diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/merge/ResolveMerger.java b/org.eclipse.jgit/src/org/eclipse/jgit/merge/ResolveMerger.java index 6462608f57..17a3d6194e 100755 --- a/org.eclipse.jgit/src/org/eclipse/jgit/merge/ResolveMerger.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/merge/ResolveMerger.java @@ -480,61 +480,6 @@ public class ResolveMerger extends ThreeWayMerger { return newEntry; } - /** - * Processes one path and tries to merge taking git attributes in account. - * This method will do all trivial (not content) merges and will also detect - * if a merge will fail. The merge will fail when one of the following is - * true - * - * - * @param base - * the common base for ours and theirs - * @param ours - * the ours side of the merge. When merging a branch into the - * HEAD ours will point to HEAD - * @param theirs - * the theirs side of the merge. When merging a branch into the - * current HEAD theirs will point to the branch which is merged - * into HEAD. - * @param index - * the index entry - * @param work - * the file in the working tree - * @param ignoreConflicts - * see - * {@link org.eclipse.jgit.merge.ResolveMerger#mergeTrees(AbstractTreeIterator, RevTree, RevTree, boolean)} - * @return false if the merge will fail because the index entry - * didn't match ours or the working-dir file was dirty and a - * conflict occurred - * @throws org.eclipse.jgit.errors.MissingObjectException - * @throws org.eclipse.jgit.errors.IncorrectObjectTypeException - * @throws org.eclipse.jgit.errors.CorruptObjectException - * @throws java.io.IOException - * @since 3.5 - */ - @Deprecated - protected boolean processEntry(CanonicalTreeParser base, - CanonicalTreeParser ours, CanonicalTreeParser theirs, - DirCacheBuildIterator index, WorkingTreeIterator work, - boolean ignoreConflicts) throws MissingObjectException, - IncorrectObjectTypeException, CorruptObjectException, IOException { - return processEntry(base, ours, theirs, index, work, ignoreConflicts, - null); - } - /** * Processes one path and tries to merge taking git attributes in account. * This method will do all trivial (not content) merges and will also detect