Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionthis method is not reliable in Gerrit instances with imported changes, since multiple changes can have the same change number and make the `changeIdProjectCache` cache pointless.
-
Deprecated Classes
-
Deprecated FieldsFieldDescription
-
Deprecated MethodsMethodDescriptionAll label functions except
PATCH_SET_LOCK
are deprecated in favour of using submit requirements. When submit requirements are used the label function needs to be set toNO_BLOCK
(orNO_OP
which is semantically the same). This is to override the default label function which isMAX_WITH_BLOCK
and which should not be used in combination with a submit requirement.use isChangeRef instead.Callers should useChangeApi.commentsRequest()
insteadCallers should useChangeApi.commentsRequest()
insteadin favor ofChanges.id(String, int)
for use only by MailUtil for parsing commit footers; that class needs to be reevaluated.for use only by MailUtil for parsing commit footers; that class needs to be reevaluated.this method is not reliable in Gerrit instances with imported changes, since multiple changes can have the same change number and make the `changeIdProjectCache` cache pointless.callers should useChangeIndexer.index(com.google.gerrit.entities.Project.NameKey, com.google.gerrit.entities.Change.Id)
which reloads the full change details, including the associated serverId.
-
Deprecated Enum Constants