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

Commit 4489c8a3 authored by Shai Barack's avatar Shai Barack
Browse files

Don't append inner exception to exception message

Don't:
```
new RuntimeException("Foo failed, reason: " + cause, cause);
```

Do:
```
new RuntimeException("Foo failed", cause);
```

Saves work.
Generates fewer instructions.

Flag: EXEMPT refactor
Change-Id: I1d7b396f0eb3509d384bd448f024df9cde41b139
parent 4db80507
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment