Merge "AccountValidator: Handle missing user branches"
This commit is contained in:
@@ -97,9 +97,11 @@ public class AccountConfig extends VersionedMetaData implements ValidationError.
|
||||
/**
|
||||
* Get the loaded account.
|
||||
*
|
||||
* @return loaded account.
|
||||
* @return the loaded account, {@code null} if load didn't find the account because it doesn't
|
||||
* exist
|
||||
* @throws IllegalStateException if the account was not loaded yet
|
||||
*/
|
||||
@Nullable
|
||||
public Account getAccount() {
|
||||
checkLoaded();
|
||||
return account;
|
||||
|
||||
Reference in New Issue
Block a user