summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Faust <colefaust@google.com>2021-11-22 14:30:27 -0800
committerCole Faust <colefaust@google.com>2021-11-22 14:30:27 -0800
commit5baab9fb72b93b6345970d19339e10fce8d91ac0 (patch)
treebd07140659ef74f8fc1744312a19c514ea5bf16c
parentd2183cd6943dbbf95336ffe2f0178a7c0549be1e (diff)
downloadloganalysis-5baab9fb72b93b6345970d19339e10fce8d91ac0.tar.gz
Remove unnecessary parentheses
These are made into errors by tradefed_errorprone_defaults, and the new errorprone update expands the types of detected unnecessary parentheses. Bug: 190944875 Test: Presubmits Change-Id: I15ba162088eb7118fb63799149d819993d9e0640
-rw-r--r--javatests/com/android/loganalysis/parser/EventsLogParserTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/javatests/com/android/loganalysis/parser/EventsLogParserTest.java b/javatests/com/android/loganalysis/parser/EventsLogParserTest.java
index d0c2a99..2108d5d 100644
--- a/javatests/com/android/loganalysis/parser/EventsLogParserTest.java
+++ b/javatests/com/android/loganalysis/parser/EventsLogParserTest.java
@@ -343,6 +343,6 @@ public class EventsLogParserTest extends TestCase {
* Reader to read the input from the given temp file
*/
public BufferedReader readInputBuffer(File tempFile) throws IOException {
- return (new BufferedReader(new InputStreamReader(new FileInputStream(tempFile))));
+ return new BufferedReader(new InputStreamReader(new FileInputStream(tempFile)));
}
}