- final List<String> matches = AccountDAO.unbox(
- (profileUUID == null) ? dao.lookupByNameSync(String.valueOf(constraint)
- .toUpperCase())
- : dao.lookupInProfileByNameSync(profileUUID,
- String.valueOf(constraint)
- .toUpperCase()));
+ final List<String> matches = AccountDAO.unbox((profileId == 0) ? dao.lookupByNameSync(
+ String.valueOf(constraint)
+ .toUpperCase()) : dao.lookupInProfileByNameSync(profileId,
+ String.valueOf(constraint)
+ .toUpperCase()));