aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/contactlist
diff options
context:
space:
mode:
authorSebastien Vincent <seb@jitsi.org>2010-09-11 08:50:46 +0000
committerSebastien Vincent <seb@jitsi.org>2010-09-11 08:50:46 +0000
commitbb0b2297c77e6f1aa10a68db157b25016de09ae6 (patch)
tree4226959de63fb78422d3333e8daa783d3352ea75 /src/net/java/sip/communicator/impl/contactlist
parent2d711b828b0447fe0195325bd6a6bec8945120a9 (diff)
downloadjitsi-bb0b2297c77e6f1aa10a68db157b25016de09ae6.zip
jitsi-bb0b2297c77e6f1aa10a68db157b25016de09ae6.tar.gz
jitsi-bb0b2297c77e6f1aa10a68db157b25016de09ae6.tar.bz2
Add javadoc, fix warnings and typos.
Diffstat (limited to 'src/net/java/sip/communicator/impl/contactlist')
-rw-r--r--src/net/java/sip/communicator/impl/contactlist/MclStorageManager.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/java/sip/communicator/impl/contactlist/MclStorageManager.java b/src/net/java/sip/communicator/impl/contactlist/MclStorageManager.java
index 1a18747..c9fc8a5 100644
--- a/src/net/java/sip/communicator/impl/contactlist/MclStorageManager.java
+++ b/src/net/java/sip/communicator/impl/contactlist/MclStorageManager.java
@@ -803,7 +803,7 @@ public class MclStorageManager
String name = e.getAttribute(DETAIL_NAME_ATTR_NAME);
String value
= e.getAttribute(DETAIL_VALUE_ATTR_NAME);
-
+
List<String> detailsObj = details.get(name);
if (detailsObj == null)
{
@@ -1044,7 +1044,7 @@ public class MclStorageManager
* Creates a new XML <code>Element</code> corresponding to
* <tt>protoGroup</tt> or <tt>null</tt> if <tt>protoGroup</tt> is not
* eligible for serialization in its current state.
- *
+ *
* @param protoGroup
* the <code>ContactGroup</code> which a corresponding XML
* <code>Element</code> is to be created for
@@ -1618,9 +1618,9 @@ public class MclStorageManager
else if (oldValue != null && newValue == null)
{
// indicates remove
- if (oldValue instanceof List)
+ if (oldValue instanceof List<?>)
{
- List valuesToRemove = (List) oldValue;
+ List<?> valuesToRemove = (List<?>) oldValue;
// indicates removing multiple values at one time
List<Element> nodes =
XMLUtils.locateElements(metaContactNode,