Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 91d0fa14 authored by Tor Norbye's avatar Tor Norbye
Browse files

Support unnecessary parentheses

This CL tweaks the CallingIdentityTokenDetector to handle
the case where there are extra (unnecessary) parentheses
present in the code, such as in
   final long token = (clearCallingIdentity());

This isn't very likely, but the next version of lint automatically
runs all lint unit tests through extra checks (inserting parentheses,
whitespace, replacing imported names with fully qualified names etc
to help detectors shake out corner cases they may not have tested
for but probably want their detectors to catch.

Test: Existing
Bug: None
Change-Id: I5af15b2ff4c13d3361a368faecdf6ef23815f6c8
parent 768e2313
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment