@Override public void removeDevice(String dSID) { Device intDevice = strucMan.getDeviceByDSID(dSID); if (intDevice != null) { strucMan.deleteDevice(intDevice); trashDevices.add(new TrashDevice(intDevice)); } }