Thread loadUsedTagsThread = new Thread(THREAD_TITLE)
{
/** Invoked when running the thread. */
public void run()
{
final TagsRepository repository = TagsRepository.getInstance();
repository.loadFromGuidesSet(aGuidesSet);
UserPreferences prefs = model.getUserPreferences();
final String user = prefs.getTagsDeliciousUser();
final String password = prefs.getTagsDeliciousPassword();
if (StringUtils.isNotEmpty(user) && StringUtils.isNotEmpty(password))
{
try
{
repository.loadTagsFromDelicious(user, password);
} catch (IOException e)
{
LOG.log(Level.WARNING, Strings.error("failed.to.load.used.tags.from.delicious"), e);
}
}