aboutsummaryrefslogtreecommitdiffstats
path: root/java/BluetoothDevice.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/BluetoothDevice.java')
-rw-r--r--java/BluetoothDevice.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/java/BluetoothDevice.java b/java/BluetoothDevice.java
index ef10517a..96b63290 100644
--- a/java/BluetoothDevice.java
+++ b/java/BluetoothDevice.java
@@ -33,8 +33,6 @@ import java.time.Duration;
*/
public class BluetoothDevice extends BluetoothObject
{
- private long nativeInstance;
-
public native BluetoothType getBluetoothType();
public native BluetoothDevice clone();
@@ -206,11 +204,5 @@ public class BluetoothDevice extends BluetoothObject
private BluetoothDevice(long instance)
{
super(instance);
- nativeInstance = instance;
- }
-
- protected void finalize()
- {
- delete();
}
}