Fix issues if one item cannot be processed to continue with the others and properly parse persistent data if the link

contains '='
cusax-fix
Damian Minkov 19 years ago
parent ff8a575266
commit 15458eb4b6

@ -230,7 +230,16 @@ public void refreshAllRssFeeds()
Iterator rssContact = rssContactList.iterator();
while(rssContact.hasNext())
{
submitRssQuery((ContactRssImpl)rssContact.next(), false);
ContactRssImpl contact = (ContactRssImpl)rssContact.next();
try
{
submitRssQuery(contact, false);
}
catch (Exception ex)
{
logger.error("Failed to refresh feed for " + contact, ex);
}
}
}

@ -119,6 +119,7 @@ public String getItemUri()
* Used for restoring the key information from a textual representation.
*
* @param settings textual representation of the stored data
* @return the result rss item
*/
public static RssItemKey deserialize(String settings)
{
@ -127,7 +128,7 @@ public static RssItemKey deserialize(String settings)
while (reader.hasMoreTokens())
{
String data[] = reader.nextToken().split("=");
String data[] = reader.nextToken().split("=", 2);
if (data[0].equals("itemDate"))
{
if (data.length == 2)

Loading…
Cancel
Save