mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-09-01 06:35:09 +00:00
Use diamond operator
This commit is contained in:
@@ -50,7 +50,7 @@ public class RemoteKeyboardPlugin extends Plugin {
|
|||||||
/**
|
/**
|
||||||
* Track and expose plugin instances to allow for a 'connected'-indicator in the IME:
|
* Track and expose plugin instances to allow for a 'connected'-indicator in the IME:
|
||||||
*/
|
*/
|
||||||
private static ArrayList<RemoteKeyboardPlugin> instances = new ArrayList<RemoteKeyboardPlugin>();
|
private static ArrayList<RemoteKeyboardPlugin> instances = new ArrayList<>();
|
||||||
private static ReentrantLock instancesLock = new ReentrantLock(true);
|
private static ReentrantLock instancesLock = new ReentrantLock(true);
|
||||||
|
|
||||||
public static ArrayList<RemoteKeyboardPlugin> getInstances() {
|
public static ArrayList<RemoteKeyboardPlugin> getInstances() {
|
||||||
|
Reference in New Issue
Block a user