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

Skip to content
Commit c72f1a03 authored by Pavlin Radoslavov's avatar Pavlin Radoslavov
Browse files

Remove unnecessary null pointer initialization for class variables

In Java, the class variables have default initialization - null
for pointers.

Also, removed unnecessary template arguments when creating templetized
objects:
OLD:
  List<BluetoothDevice> devices = new ArrayList<BluetoothDevice>();
NEW:
  List<BluetoothDevice> devices = new ArrayList<>();

Test: code compilation
Bug: 73205770
Change-Id: Ib983ee40df6bc5bb250ed23fa05a92c6b0365a5a
parent 8a8b8f41
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