summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit
diff options
context:
space:
mode:
authorKevin Sawicki <kevin@github.com>2012-05-09 11:18:02 -0700
committerMatthias Sohn <matthias.sohn@sap.com>2012-05-10 00:33:03 +0200
commitd72a459f93e79f5e4187c8242ab6b4af513d27bf (patch)
treedcc6c6eb618b44e8890e05b74f28d0ccf918f8c1 /org.eclipse.jgit
parenta9133e55a451f3441ee8dc9a2dcee2c8c48c22b6 (diff)
downloadjgit-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.java2
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);
}