Remove dead ruffyscripter code.

This commit is contained in:
Johannes Mockenhaupt 2018-01-30 23:16:45 +01:00
parent a8cca7fcea
commit d08958e43f
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1
2 changed files with 0 additions and 24 deletions

View file

@ -45,13 +45,5 @@ public interface RuffyCommands {
CommandResult getDateAndTime();
CommandResult setDateAndTime();
// TODO below methods are drafts
void requestPairing();
/** Send the key displayed on the pump during pairing/bonding. */
void sendAuthKey(String key);
void unpair();
}

View file

@ -75,7 +75,6 @@ public class RuffyScripter implements RuffyCommands {
@Override
public void fail(String message) throws RemoteException {
// TODO 10-28 19:50:54.059 1426 1826 W RuffyScripter: [Thread-268] WARN [info.nightscout.androidaps.plugins.PumpCombo.ruffyscripter.RuffyScripter$1:78]: Ruffy warns: no connection possible
log.warn("Ruffy warns: " + message);
}
@ -847,21 +846,6 @@ public class RuffyScripter implements RuffyCommands {
throw new RuntimeException("Not supported");
}
@Override
public void requestPairing() {
throw new UnsupportedOperationException();
}
@Override
public void sendAuthKey(String key) {
throw new UnsupportedOperationException();
}
@Override
public void unpair() {
throw new UnsupportedOperationException();
}
/**
* Confirms and dismisses the given alert if it's raised before the timeout
*/