mirror of
https://github.com/moparisthebest/Conversations
synced 2024-12-26 01:09:13 -05:00
made constructor private in Account entity
This commit is contained in:
parent
ad5bcb7d43
commit
41ae4af1b8
@ -162,16 +162,12 @@ public class Account extends AbstractEntity {
|
||||
private List<Bookmark> bookmarks = new CopyOnWriteArrayList<>();
|
||||
private final Collection<Jid> blocklist = new CopyOnWriteArraySet<>();
|
||||
|
||||
public Account() {
|
||||
this.uuid = "0";
|
||||
}
|
||||
|
||||
public Account(final Jid jid, final String password) {
|
||||
this(java.util.UUID.randomUUID().toString(), jid,
|
||||
password, 0, null, "", null, null, null, 5222);
|
||||
}
|
||||
|
||||
public Account(final String uuid, final Jid jid,
|
||||
private Account(final String uuid, final Jid jid,
|
||||
final String password, final int options, final String rosterVersion, final String keys,
|
||||
final String avatar, String displayName, String hostname, int port) {
|
||||
this.uuid = uuid;
|
||||
|
Loading…
Reference in New Issue
Block a user