protected function buildWhereClauseComponents(AphrontDatabaseConnection $conn_r)
 {
     $where = parent::buildWhereClauseComponents($conn_r);
     if ($this->revisionPHIDs !== null) {
         $where[] = qsprintf($conn_r, 'revisionPHID IN (%Ls)', $this->revisionPHIDs);
     }
     return $where;
 }
 protected function buildWhereClauseComponents(AphrontDatabaseConnection $conn_r)
 {
     $where = parent::buildWhereClauseComponents($conn_r);
     if ($this->commitPHIDs !== null) {
         $where[] = qsprintf($conn_r, 'xcomment.commitPHID IN (%Ls)', $this->commitPHIDs);
     }
     if ($this->hasPath !== null) {
         if ($this->hasPath) {
             $where[] = qsprintf($conn_r, 'xcomment.pathID IS NOT NULL');
         } else {
             $where[] = qsprintf($conn_r, 'xcomment.pathID IS NULL');
         }
     }
     if ($this->pathIDs !== null) {
         $where[] = qsprintf($conn_r, 'xcomment.pathID IN (%Ld)', $this->pathIDs);
     }
     return $where;
 }