Remove dead ruffyscripter code.
This commit is contained in:
parent
a8cca7fcea
commit
d08958e43f
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue