See line 204 https://github.com/jenkinsci/gerrit-trigger-plugin/blob/master/gerrit-events/src/main/java/com/sonyericsson/hudson/plugins/gerrit/gerritevents/GerritHandler.java