class JDBCBranchQueries extends JDBCQueriesHelper implements BranchQueries {

    @Override
    public String lastCommitSmellsQuery(int projectId, Commit merge, String smellType) {
        String branchId = "(" + mergedBranchIdQuery(projectId, merge) + ")";
        return smellQueries.commitSmellsQuery(projectId, "(" + branchLastCommitQuery(projectId, branchId, "id") + ")", smellType);
    }

    public  JDBCBranchQueries(CommitQueries commitQueries, SmellQueries smellQueries);

}