]> source.dussan.org Git - jgit.git/commitdiff
Remove throws IOException declaration on filterClean 03/5903/2
authorKevin Sawicki <kevin@github.com>
Wed, 9 May 2012 18:18:02 +0000 (11:18 -0700)
committerMatthias Sohn <matthias.sohn@sap.com>
Wed, 9 May 2012 22:33:03 +0000 (00:33 +0200)
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>
org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java

index 54eaeb9dfb03e744cbf86939a96b8965ce338920..759613ba279a94476860e38ce59db22c101ec6e8 100644 (file)
@@ -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);
        }