summaryrefslogtreecommitdiffstats
path: root/java/BluetoothAdapter.java
diff options
context:
space:
mode:
authorPetre Eftime <[email protected]>2016-04-18 17:50:11 +0300
committerPetre Eftime <[email protected]>2016-04-18 17:50:11 +0300
commitc108364e5a477438cb22760d81b29eacdf321185 (patch)
tree2d8792d50f94711c4ec017bf66af4e8bfeb0d77f /java/BluetoothAdapter.java
parent0797a6a2cc629a108d63d1f653bec0484a5f3544 (diff)
java: Remove duplicated code in constructor and finalizev0.4.1
Signed-off-by: Petre Eftime <[email protected]>
Diffstat (limited to 'java/BluetoothAdapter.java')
-rw-r--r--java/BluetoothAdapter.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/java/BluetoothAdapter.java b/java/BluetoothAdapter.java
index 6aa73316..5b96c5bd 100644
--- a/java/BluetoothAdapter.java
+++ b/java/BluetoothAdapter.java
@@ -33,8 +33,6 @@ import java.time.Duration;
*/
public class BluetoothAdapter extends BluetoothObject
{
- private long nativeInstance;
-
public native BluetoothType getBluetoothType();
public native BluetoothAdapter clone();
@@ -182,11 +180,5 @@ public class BluetoothAdapter extends BluetoothObject
private BluetoothAdapter(long instance)
{
super(instance);
- nativeInstance = instance;
- }
-
- protected void finalize()
- {
- delete();
}
}