summaryrefslogtreecommitdiffstats
path: root/java/BluetoothGattCharacteristic.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/BluetoothGattCharacteristic.java
parent0797a6a2cc629a108d63d1f653bec0484a5f3544 (diff)
java: Remove duplicated code in constructor and finalizev0.4.1
Signed-off-by: Petre Eftime <[email protected]>
Diffstat (limited to 'java/BluetoothGattCharacteristic.java')
-rw-r--r--java/BluetoothGattCharacteristic.java8
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();
}
}