Checkstyle cleanup for hibernate packages

I know it is but that is the design of tryLock