}
*/
if (replies == null)
return;
final MidiDeviceMarshall m = MidiDeviceMarshall.getInstance();
System.out.println(Zoeos.getZoeosTime() + ": " + "DEVICE HUNT REPLIES: " + replies.size());
Thread t = new ZDefaultThread("Device Hunt Results") {
public void run() {
int num = replies.size();
int duped = 0;
if (num == 0)
new FlashMsg(ZoeosFrame.getInstance(), 2500, 500, FlashMsg.colorWarning, "NO DEVICES FOUND DURING HUNT");
else {
List unlicensed = new ArrayList();
for (Iterator i = replies.iterator(); i.hasNext();) {
final SysexTransactionRecord str = (SysexTransactionRecord) i.next();
ZExternalDevice d = m.tryIdentify(str);
if (d != null) {
ZExternalDevice dup = getDuplicate(d.getDeviceIdentityMessage());
if (dup == null) {
if (!isDemo() && d instanceof LicensedEntity && !checkLicensed((LicensedEntity) d)) {
unlicensed.add(d);