RNBluetoothClassicPackage.java:68: error: cannot infer type arguments for HashMap<K,V> this.mConnectionFactories = new HashMap<>() {{ ^ reason: cannot use '<>' with anonymous inner classes where K,V are type-variables: K extends Object declared in class HashMap V extends Object declared in class HashMap #153
RNBluetoothClassicPackage.java:68: error: cannot infer type arguments for HashMap<K,V>
this.mConnectionFactories = new HashMap<>() {{
^
reason: cannot use '<>' with anonymous inner classes
where K,V are type-variables:
K extends Object declared in class HashMap
V extends Object declared in class HashMap
RNBluetoothClassicPackage.java:68: error: cannot infer type arguments for HashMap<K,V> this.mConnectionFactories = new HashMap<>() {{ ^ reason: cannot use '<>' with anonymous inner classes where K,V are type-variables: K extends Object declared in class HashMap V extends Object declared in class HashMap