Browse Source

Remove deprecated TreeWalk#getEolStreamType

Use TreeWalk#getEolStreamType(OperationType) instead.

Change-Id: I0f102ddf36102ff55a71448e376ed08743da5d1f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-5.0
Matthias Sohn 7 years ago
parent
commit
164b3e9699
  1. 16
      org.eclipse.jgit/src/org/eclipse/jgit/treewalk/TreeWalk.java

16
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()); 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. * Reset this walker so new tree iterators can be added to it.
*/ */

Loading…
Cancel
Save