diff options
author | Petre Eftime <[email protected]> | 2016-04-18 17:50:11 +0300 |
---|---|---|
committer | Petre Eftime <[email protected]> | 2016-04-18 17:50:11 +0300 |
commit | c108364e5a477438cb22760d81b29eacdf321185 (patch) | |
tree | 2d8792d50f94711c4ec017bf66af4e8bfeb0d77f /java/BluetoothDevice.java | |
parent | 0797a6a2cc629a108d63d1f653bec0484a5f3544 (diff) |
java: Remove duplicated code in constructor and finalizev0.4.1
Signed-off-by: Petre Eftime <[email protected]>
Diffstat (limited to 'java/BluetoothDevice.java')
-rw-r--r-- | java/BluetoothDevice.java | 8 |
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(); } } |