~berthold-daum/zora/trunk

« back to all changes in this revision

Viewing changes to com.bdaum.zoom.net.communities/src/com/bdaum/zoom/net/communities/CommunityAccount.java

  • Committer: bdaum
  • Date: 2015-12-26 10:21:51 UTC
  • Revision ID: berthold.daum@bdaum.de-20151226102151-44f1j5113167thb9
VersionĀ 2.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
import org.scohen.juploadr.app.tags.Tag;
46
46
 
47
47
import com.bdaum.zoom.core.Core;
48
 
import com.bdaum.zoom.core.internal.Utilities;
49
48
import com.bdaum.zoom.program.BatchUtilities;
50
49
 
51
 
@SuppressWarnings("restriction")
52
50
public class CommunityAccount {
53
51
 
54
52
        private static final String PASSWORD_LENGTH = "passwordLength"; //$NON-NLS-1$
250
248
                for (CommunityAccount acc : communityAccounts)
251
249
                        if (acc.getName() != null && acc.getName().length() > 0)
252
250
                                sb.append(acc.toString()).append(SEP);
253
 
                Utilities.putPreferences(node, PreferenceConstants.COMMUNITYACCOUNTS + id, sb.toString());
 
251
                BatchUtilities.putPreferences(node, PreferenceConstants.COMMUNITYACCOUNTS + id, sb.toString());
254
252
        }
255
253
 
256
254
        public static List<CommunityAccount> loadAllAccounts(String id,