summaryrefslogtreecommitdiffstats
path: root/java/direct_bt
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-06-29 15:34:46 +0200
committerSven Gothel <[email protected]>2020-06-29 15:34:46 +0200
commitcdbf1fd4e081ce94e5c2dec7e6e912ce35247c7e (patch)
treed0d54dede2a9bda1a1d857ce49a62349e4e277ad /java/direct_bt
parentfe752e88e00739a72a61e28f4df778296f69ce1a (diff)
DBTAdapter: Fix equals(..)
Diffstat (limited to 'java/direct_bt')
-rw-r--r--java/direct_bt/tinyb/DBTAdapter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/direct_bt/tinyb/DBTAdapter.java b/java/direct_bt/tinyb/DBTAdapter.java
index b10eb02c..4c924b6d 100644
--- a/java/direct_bt/tinyb/DBTAdapter.java
+++ b/java/direct_bt/tinyb/DBTAdapter.java
@@ -109,7 +109,7 @@ public class DBTAdapter extends DBTObject implements BluetoothAdapter
@Override
public boolean equals(final Object obj)
{
- if (obj == null || !(obj instanceof DBTDevice)) {
+ if (obj == null || !(obj instanceof DBTAdapter)) {
return false;
}
final DBTAdapter other = (DBTAdapter)obj;