jenkinsci/ghprb-plugin — pull request #62 by KostyaSha (2014-11-16 01:59:51+00:00)
Title: Simplify code. Remove redundant casts and checks.

From sources/javadoc:
hudson.model.AbstractProject#getTrigger(Class clazz)
* Gets the specific trigger, or null if the propert is not configured for this job.