Undeprecate a few functions that aren't going away
Change-Id: Ifd0199102a8316a9439f3ad931e6def9c8c4cc85
This commit is contained in:
parent
3755e9fd85
commit
e389b9a039
|
@ -39,7 +39,6 @@ public class BaseServiceImplementation {
|
|||
this.currentUser = currentUser;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
protected Account.Id getAccountId() {
|
||||
CurrentUser u = currentUser.get();
|
||||
if (u instanceof IdentifiedUser) {
|
||||
|
@ -97,7 +96,6 @@ public class BaseServiceImplementation {
|
|||
}
|
||||
|
||||
/** Exception whose cause is passed into onFailure. */
|
||||
@Deprecated
|
||||
public static class Failure extends Exception {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
|
|
@ -370,13 +370,11 @@ public final class Change {
|
|||
}
|
||||
|
||||
/** Legacy 32 bit integer identity for a change. */
|
||||
@Deprecated
|
||||
public Change.Id getId() {
|
||||
return changeId;
|
||||
}
|
||||
|
||||
/** Legacy 32 bit integer identity for a change. */
|
||||
@Deprecated
|
||||
public int getChangeId() {
|
||||
return changeId.get();
|
||||
}
|
||||
|
|
|
@ -69,7 +69,6 @@ public abstract class CurrentUser {
|
|||
return getEffectiveGroups().contains(authConfig.getBatchUsersGroup());
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public final boolean isAdministrator() {
|
||||
return getEffectiveGroups().contains(authConfig.getAdministratorsGroup());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue