aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/plugin/phonenumbercontactsource/PhoneNumberContactQuery.java
diff options
context:
space:
mode:
authoryanas <yana@jitsi.org>2013-04-25 09:27:41 +0200
committeryanas <yana@jitsi.org>2013-04-25 09:27:41 +0200
commit24c22544b85a975bc596c7a22eb1b9a8dc0be5fe (patch)
tree0e1913605e2d821d115ed563426dc2364a9d6387 /src/net/java/sip/communicator/plugin/phonenumbercontactsource/PhoneNumberContactQuery.java
parent237c263e27c54e5c51303716f7ff400d79679635 (diff)
downloadjitsi-24c22544b85a975bc596c7a22eb1b9a8dc0be5fe.zip
jitsi-24c22544b85a975bc596c7a22eb1b9a8dc0be5fe.tar.gz
jitsi-24c22544b85a975bc596c7a22eb1b9a8dc0be5fe.tar.bz2
Fixes ConcurrentModificationException in conference invite dialog. Fixes
showing entries for address book and outlook home address details in conference invite dialog.
Diffstat (limited to 'src/net/java/sip/communicator/plugin/phonenumbercontactsource/PhoneNumberContactQuery.java')
-rw-r--r--src/net/java/sip/communicator/plugin/phonenumbercontactsource/PhoneNumberContactQuery.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/net/java/sip/communicator/plugin/phonenumbercontactsource/PhoneNumberContactQuery.java b/src/net/java/sip/communicator/plugin/phonenumbercontactsource/PhoneNumberContactQuery.java
index f9fa05c..c52ec2d 100644
--- a/src/net/java/sip/communicator/plugin/phonenumbercontactsource/PhoneNumberContactQuery.java
+++ b/src/net/java/sip/communicator/plugin/phonenumbercontactsource/PhoneNumberContactQuery.java
@@ -194,8 +194,12 @@ public class PhoneNumberContactQuery
ArrayList<ContactDetail> contactDetails
= new ArrayList<ContactDetail>();
+ String detailDisplayName
+ = pnd.getNumber() + "(" + localizedType + ")";
ContactDetail detail
- = new ContactDetail(pnd.getNumber());
+ = new ContactDetail(pnd.getNumber(),
+ detailDisplayName);
+
ArrayList<Class<? extends OperationSet>>
supportedOpSets
= new ArrayList<Class<? extends OperationSet>>();
@@ -211,8 +215,7 @@ public class PhoneNumberContactQuery
getContactSource(),
contact,
contactDetails,
- pnd.getNumber()
- + "(" + localizedType + ")");
+ detailDisplayName);
addQueryResult(numberSourceContact);
}