Commit 83bc18b1 authored by arthursonzogni's avatar arthursonzogni Committed by Commit Bot

Fix java code style in an Android WebView test.

git cl presubmit rule violated:
```
if, for, while, and do require curly braces unless they are single-line
statements."
```

Bug: None
Change-Id: Ie2b060f2f5f4a82d626d3bceb7c1829c6867868c
Reviewed-on: https://chromium-review.googlesource.com/574588Reviewed-by: default avatarRichard Coles <torne@chromium.org>
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487420}
parent d01ca2bf
......@@ -361,8 +361,9 @@ public class AwContentsClientShouldInterceptRequestTest extends AwTestBase {
@Override
public long skip(long n) throws IOException {
if (n < 0)
if (n < 0) {
throw new IOException("skipping negative number of bytes");
}
return 0;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment