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

Assignee

Misagh Moayyed

Reporter

Misagh Moayyed

Labels

None

Estimated End Date

None

Components

Fix versions

Priority

Minor
Configure