You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Drop redundant getOperation() overrides in the AuthorizationIntent records #5506
AuthorizationIntent exposes the operation through getOperation(). All seven implementations are records with an operation component, so their generated accessor is operation() — which means every record has to add a getOperation() override that just forwards to it.
The neighboring records already use canonical accessors (AuthorizationRequest.principal()/intents(), ResolvedIntent.targets()/secondaries()), so getOperation() is the only bean-style getter left in this area.
Renaming getOperation() to operation() lets each record's generated accessor implement the interface directly, so all seven overrides can go away. Pure rename, no behavior change.
Activity
Rename AuthorizationIntent.getOperation() to operation()
Core: Drop redundant getOperation() overrides in AuthorizationIntent …
Core: Drop redundant getOperation() overrides in AuthorizationIntent …
Core: Drop redundant getOperation() overrides in AuthorizationIntent …