gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/ChangeIdAnnotator.java
/**
     * Does this project have the Gerrit trigger configured?
     * @param project The project
     * @return True if the gerrit trigger is configured.
     */
Does this project have the Gerrit trigger configured.
@param project The project
@return True if the gerrit trigger is configured.
Does this project have the Gerrit trigger configured . @param project The project @return True if the gerrit trigger is configured .
private boolean hasGerritTrigger(AbstractProject<?, ?> project) {
        for (Trigger t : project.getTriggers().values()) {
            if (t instanceof GerritTrigger) {
                return true;
            }
        }
        return false;
    }
private boolean hasGerritTrigger ( AbstractProject < ? , ? > project ) { for ( Trigger t : project . getTriggers ( ) . values ( ) ) { if ( t instanceof GerritTrigger ) { return true ; } } return false ; }
Does this project have the Gerrit trigger configured?
Does this project have the Gerrit trigger configured?