summaryrefslogtreecommitdiffstats
path: root/java/direct_bt/tinyb/DBTDevice.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-12-10 05:30:09 +0100
committerSven Gothel <[email protected]>2020-12-10 05:30:09 +0100
commite1503a9e9fc5ebfa8d8420856d242acf4e3d3148 (patch)
tree55b5d9a0f7a291c7daf79f9688af1380a85b377e /java/direct_bt/tinyb/DBTDevice.java
parent5516f18c212d3e7f6ca56691647095636542efe8 (diff)
EUI48.java: Remove hash-value caching
Diffstat (limited to 'java/direct_bt/tinyb/DBTDevice.java')
-rw-r--r--java/direct_bt/tinyb/DBTDevice.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/direct_bt/tinyb/DBTDevice.java b/java/direct_bt/tinyb/DBTDevice.java
index ad7cee35..70cece25 100644
--- a/java/direct_bt/tinyb/DBTDevice.java
+++ b/java/direct_bt/tinyb/DBTDevice.java
@@ -212,7 +212,7 @@ public class DBTDevice extends DBTObject implements BluetoothDevice
{
super(nativeInstance, java.util.Arrays.hashCode(byteAddress));
this.wbr_adapter = new WeakReference<DBTAdapter>(adptr);
- this.address = new EUI48(hashCode(), byteAddress);
+ this.address = new EUI48(byteAddress);
this.addressType = BluetoothAddressType.get(byteAddressType);
if( BluetoothAddressType.BDADDR_UNDEFINED == addressType ) {
throw new IllegalArgumentException("Unsupported given native addresstype "+byteAddressType);