Chromium Code Reviews| Index: base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java |
| diff --git a/base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java b/base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java |
| index ca6e73bb1c7d1ba152aa1d5f7edc6a735d2433fe..8765def89525d0a9f35aacedd7b40d77f9cb93d4 100644 |
| --- a/base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java |
| +++ b/base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java |
| @@ -29,12 +29,12 @@ public class TestFileUtil { |
| Writer writer = null; |
| try { |
| writer = new OutputStreamWriter(new FileOutputStream(file), "UTF-8"); |
| - writer.write("<html><meta charset=\"UTF-8\" />" + |
| - "<head><title>" + title + "</title></head>" + |
| - "<body>" + |
| - (body != null ? body : "") + |
| - "</body>" + |
| - "</html>"); |
| + writer.write("<html><meta charset=\"UTF-8\" />" |
|
nyquist
2015/04/02 21:51:27
This is OK to cleanup, but I don't see what this w
|
| + + " <head><title>" + title + "</title></head>" |
| + + " <body>" |
| + + (body != null ? body : "") |
| + + " </body>" |
| + + " </html>"); |
| } finally { |
| if (writer != null) { |
| writer.close(); |
| @@ -61,8 +61,8 @@ public class TestFileUtil { |
| try { |
| File f = new File(fileName); |
| if (f.length() > sizeLimit) { |
| - throw new IOException("File " + fileName + " length " + f.length() + |
| - " exceeds limit " + sizeLimit); |
| + throw new IOException("File " + fileName + " length " + f.length() |
| + + " exceeds limit " + sizeLimit); |
| } |
| char[] buffer = new char[(int) f.length()]; |
| reader = new InputStreamReader(new FileInputStream(f), "UTF-8"); |