Remove deprecated TreeWalk#getEolStreamType

Use TreeWalk#getEolStreamType(OperationType) instead.

Change-Id: I0f102ddf36102ff55a71448e376ed08743da5d1f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
Matthias Sohn 2018-03-10 00:45:27 +01:00
parent 4772569036
commit 164b3e9699
1 changed files with 0 additions and 16 deletions

View File

@ -632,22 +632,6 @@ public EolStreamType getEolStreamType(OperationType opType) {
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.
*/