diff options
author | Kevin Sawicki <kevin@github.com> | 2012-05-09 11:18:02 -0700 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2012-05-10 00:33:03 +0200 |
commit | d72a459f93e79f5e4187c8242ab6b4af513d27bf (patch) | |
tree | dcc6c6eb618b44e8890e05b74f28d0ccf918f8c1 /org.eclipse.jgit | |
parent | a9133e55a451f3441ee8dc9a2dcee2c8c48c22b6 (diff) | |
download | jgit-d72a459f93e79f5e4187c8242ab6b4af513d27bf.tar.gz jgit-d72a459f93e79f5e4187c8242ab6b4af513d27bf.zip |
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>
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java index 54eaeb9dfb..759613ba27 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java @@ -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); } |