From 164b3e9699ea63104b37ad7f1a2daa663f064049 Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Sat, 10 Mar 2018 00:45:27 +0100 Subject: [PATCH] Remove deprecated TreeWalk#getEolStreamType Use TreeWalk#getEolStreamType(OperationType) instead. Change-Id: I0f102ddf36102ff55a71448e376ed08743da5d1f Signed-off-by: Matthias Sohn --- .../src/org/eclipse/jgit/treewalk/TreeWalk.java | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/TreeWalk.java b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/TreeWalk.java index 8872689d3..41c016cff 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/TreeWalk.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/TreeWalk.java @@ -632,22 +632,6 @@ public class TreeWalk implements AutoCloseable, AttributesProvider { config.get(WorkingTreeOptions.KEY), getAttributes()); } - /** - * Get the EOL stream type of the current entry using the config and - * {@link #getAttributes()}. - * - * @return the EOL stream type of the current entry using the config and - * {@link #getAttributes()}. Note that this method may return null - * if the {@link org.eclipse.jgit.treewalk.TreeWalk} is not based on - * a working tree - * @since 4.3 - * @deprecated use {@link #getEolStreamType(OperationType)} instead. - */ - @Deprecated - public @Nullable EolStreamType getEolStreamType() { - return (getEolStreamType(operationType)); - } - /** * Reset this walker so new tree iterators can be added to it. */