It could become:

```
def getFailureNotificationSubject(job) {
    getMessage('job.failure.subject', [job.uuid])
}

def getMessage(messageKey, messageParams) {
    messageSource.getMessage(
        messageKey,
        messageParams.toArray(),
        LocaleContextHolder.locale
    )
}
```