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:
parent
4772569036
commit
164b3e9699
|
@ -632,22 +632,6 @@ public EolStreamType getEolStreamType(OperationType opType) {
|
||||||
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…
Reference in New Issue