- public RecipientId resolveRecipientTrusted(final ServiceId serviceId, final String username) {
- return resolveRecipientTrusted(new RecipientAddress(serviceId, null, null, username), false);
- }
-
- public RecipientId resolveRecipientTrusted(
- final ACI aci, final String username
- ) {
- return resolveRecipientTrusted(new RecipientAddress(Optional.of(aci),
- Optional.empty(),
- Optional.empty(),
- Optional.of(username)), false);
+ public RecipientId resolveRecipientTrusted(final ACI aci, final String username) {
+ return resolveRecipientTrusted(new RecipientAddress(aci, null, null, username), false);