Remove the need to CAST the returned ticket from ticket registry

Description

The ticket registry's getTicket() method currently forces a CAST on the returned ticket type. This can be simplified by using generic.

Environment

None

Status

Assignee

Misagh Moayyed

Reporter

Misagh Moayyed

Labels

None

Estimated End Date

None

Audience

None

Components

Fix versions

Priority

Minor