Skip to content

Commit a059d82

Browse files
committed
Fix formatting in copyLarge methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1415244 13f79535-47bb-0310-9956-ffa450edef68
1 parent b6f7a6a commit a059d82

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

src/test/java/org/apache/commons/io/IOUtilsTestCase.java

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -940,16 +940,14 @@ public void testSkipInvalid() throws IOException {
940940
ByteArrayOutputStream os = null;
941941
try {
942942
// Create streams
943-
is = new ByteArrayInputStream( iarr);
943+
is = new ByteArrayInputStream(iarr);
944944
os = new ByteArrayOutputStream();
945945

946-
// Test our copy method
947-
IOUtils.copyLarge( is, os, 1000, 100);
948-
fail( "Should have thrown EOFException");
949-
}
950-
catch( EOFException eofe){
951-
}
952-
finally {
946+
// Test our copy method
947+
IOUtils.copyLarge(is, os, 1000, 100);
948+
fail("Should have thrown EOFException");
949+
} catch (EOFException eofe) {
950+
} finally {
953951
IOUtils.closeQuietly(is);
954952
IOUtils.closeQuietly(os);
955953
}

0 commit comments

Comments
 (0)