aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/java/DBTPeripheral00.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/java/DBTPeripheral00.java b/examples/java/DBTPeripheral00.java
index 9712e9c3..107bf7a5 100644
--- a/examples/java/DBTPeripheral00.java
+++ b/examples/java/DBTPeripheral00.java
@@ -37,7 +37,6 @@ import org.direct_bt.BTMode;
import org.direct_bt.BTSecurityLevel;
import org.direct_bt.BTAdapter;
import org.direct_bt.BTDevice;
-import org.direct_bt.BTDeviceRegistry;
import org.direct_bt.BTException;
import org.direct_bt.BTFactory;
import org.direct_bt.BTManager;
@@ -358,7 +357,7 @@ public class DBTPeripheral00 {
}
};
- class MyGATTServerListener extends DBGattServer.Listener implements AutoCloseable {
+ class MyGATTServerListener extends DBGattServer.Listener {
private final Thread pulseSenderThread;
private volatile boolean stopPulseSenderFlag = false;