Skip to content

Commit 14a0858

Browse files
committed
Always use blocks.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1739131 13f79535-47bb-0310-9956-ffa450edef68
1 parent 7908be2 commit 14a0858

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/main/java/org/apache/commons/io/output/WriterOutputStream.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,9 @@ private void flushOutput() throws IOException {
311311
}
312312

313313
private static void checkIbmJdkWithBrokenUTF16(Charset charset){
314-
if (!"UTF-16".equals(charset.name())) return;
314+
if (!"UTF-16".equals(charset.name())) {
315+
return;
316+
}
315317
final String TEST_STRING_2 = "v\u00e9s";
316318
byte[] bytes = TEST_STRING_2.getBytes(charset);
317319

0 commit comments

Comments
 (0)