Bläddra i källkod

Remove throws IOException declaration on filterClean

This method only creates an EolCanonicalizingInputStream
which does not throw an IOException and so the throws
declaration on the method is unneeded.

Change-Id: Icae8b80006c5e3ffcf3b69790a1a45c505be0f05
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
tags/v2.0.0.201206130900-r
Kevin Sawicki 12 år sedan
förälder
incheckning
d72a459f93

+ 1
- 1
org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java Visa fil

@@ -412,7 +412,7 @@ public abstract class WorkingTreeIterator extends AbstractTreeIterator {
}
}

private InputStream filterClean(InputStream in) throws IOException {
private InputStream filterClean(InputStream in) {
return new EolCanonicalizingInputStream(in, true);
}


Laddar…
Avbryt
Spara