jdk/test/java/util/logging/SimpleFormatterFormat.java
changeset 14683 38921a46c62d
parent 9014 117374ccf1b7
child 14856 92a1bcf46888
--- a/jdk/test/java/util/logging/SimpleFormatterFormat.java	Thu Nov 29 09:47:31 2012 +0000
+++ b/jdk/test/java/util/logging/SimpleFormatterFormat.java	Thu Nov 29 12:28:02 2012 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2012 Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -92,8 +92,9 @@
         System.out.println("Checking log records in file: " + log);
         Pattern p = Pattern.compile("([\\.a-zA-Z:]+) (.*) \\[.*\\] source: (.*)");
 
-        try (FileInputStream in = new FileInputStream(log)) {
-            BufferedReader reader = new BufferedReader(new InputStreamReader(in));
+        try (FileInputStream in = new FileInputStream(log);
+                BufferedReader reader = new BufferedReader(new InputStreamReader(in));
+                ) {
             String line;
             int i = 0;
             while (i < messages.length &&