2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 21:55:10 +00:00

Use diamond operator

This commit is contained in:
Nicolas Fella
2018-09-29 20:36:47 +02:00
parent 1a17455992
commit c3fc001621

View File

@@ -50,7 +50,7 @@ public class RemoteKeyboardPlugin extends Plugin {
/**
* 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);
public static ArrayList<RemoteKeyboardPlugin> getInstances() {