diff options
Diffstat (limited to 'java/BluetoothGattCharacteristic.java')
-rw-r--r-- | java/BluetoothGattCharacteristic.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/java/BluetoothGattCharacteristic.java b/java/BluetoothGattCharacteristic.java index a1b019de..b8582768 100644 --- a/java/BluetoothGattCharacteristic.java +++ b/java/BluetoothGattCharacteristic.java @@ -33,8 +33,6 @@ import java.time.Duration; */ public class BluetoothGattCharacteristic extends BluetoothObject { - private long nativeInstance; - public native BluetoothType getBluetoothType(); public native BluetoothGattCharacteristic clone(); @@ -127,11 +125,5 @@ public class BluetoothGattCharacteristic extends BluetoothObject private BluetoothGattCharacteristic(long instance) { super(instance); - nativeInstance = instance; - } - - protected void finalize() - { - delete(); } } |